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

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public DateTime GetCustomDateTime(
	Object dateTime,
	string timeZoneName
)

Parameters

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

Return Value

Type: DateTime
See Also