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

Namespace: CMS.EventManager
Assembly: CMS.EventManager (in CMS.EventManager.dll) Version: 8.2.23
Syntax
C#
public static string GetEventDateString(
	DateTime start,
	DateTime end,
	bool isAllDayEvent,
	TimeZoneInfo tzi,
	string siteName
)

Parameters

start
Type: SystemDateTime
Event start time
end
Type: SystemDateTime
Event end time
isAllDayEvent
Type: SystemBoolean
Indicates if it is all day event - if yes, result does not contain times
tzi
Type: CMS.GlobalizationTimeZoneInfo
Time zone for shifting datetime values
siteName
Type: SystemString
Site name

Return Value

Type: String
See Also