TransformationHelperGetEventDateString Method |
Returns string representation of event time with dependence on current ITimeZone manager
time zone settings.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.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