Click or drag to resize
TransformationHelperGetDateTime Method (Control, DateTime)
Returns date time with dependence on current ITimeZone manager time zone settings.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntax
C#
public DateTime GetDateTime(
	Control control,
	DateTime dateTime
)

Parameters

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

Return Value

Type: DateTime
See Also