Returns string representation of event time with dependence on current ITimeZone manager
time zone settings.
Namespace: CMS.EventManagerAssembly: CMS.EventManager (in CMS.EventManager.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- start
- Type: System DateTime
Event start time
- end
- Type: System DateTime
Event end time
- isAllDayEvent
- Type: System Boolean
Indicates if it is all day event - if yes, result does not contain times
- tzi
- Type: CMS.Globalization TimeZoneInfo
Time zone for shifting datetime values
- siteName
- Type: System String
Site name
Return Value
Type: StringSee Also