Click or drag to resize
TransformationHelperGetDateTime Method (Control, Object)
Returns date 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 DateTime GetDateTime(
	Control control,
	Object dateTime
)

Parameters

control
Type: System.Web.UIControl
Control containing ITimeZoneManager
dateTime
Type: SystemObject
DateTim to convert (server time zone)

Return Value

Type: DateTime
See Also