Click or drag to resize
TransformationHelperGetEventDateString Method
Returns string representation of event time with dependence on current ITimeZone manager time zone settings.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
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: String
See Also