Click or drag to resize
TransformationHelperGetCustomDateTime Method
Returns date time with dependence on selected time zone.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
public DateTime GetCustomDateTime(
	Object dateTime,
	string timeZoneName
)

Parameters

dateTime
Type: SystemObject
DateTim to convert (server time zone)
timeZoneName
Type: SystemString
Time zone code name

Return Value

Type: DateTime
See Also