TransformationHelperGetEventDateString Method |
Returns string representation of event time with dependence on current ITimeZone manager
time zone settings.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax public string GetEventDateString(
Control control,
Object startTime,
Object endTime,
bool isAllDayEvent
)
Parameters
- control
- Type: System.Web.UIControl
Control containing ITimeZoneManager - startTime
- Type: SystemObject
Event start time - endTime
- Type: SystemObject
Event end time - isAllDayEvent
- Type: SystemBoolean
Indicates if it is all day event - if yes, result does not contain times
Return Value
Type:
StringSee Also