Click or drag to resize
TimeZoneUIMethodsGetDateTimeForControl Method (Control, DateTime)
Gets the date time value for the given control.

Namespace: CMS.Globalization.Web.UI
Assembly: CMS.Globalization.Web.UI (in CMS.Globalization.Web.UI.dll) Version: 12.0.0
Syntax
C#
public static DateTime GetDateTimeForControl(
	Control control,
	DateTime dateTime
)

Parameters

control
Type: System.Web.UIControl
Control
dateTime
Type: SystemDateTime
Date time

Return Value

Type: DateTime
See Also