TimeZoneUIMethodsGetDateTimeForControl Method (Control, DateTime, TimeZoneInfo) |
Gets the date time value for the given control.
Namespace: CMS.Globalization.Web.UIAssembly: CMS.Globalization.Web.UI (in CMS.Globalization.Web.UI.dll) Version: 13.0.131
Syntax public static DateTime GetDateTimeForControl(
Control control,
DateTime dateTime,
out TimeZoneInfo usedTimeZone
)
Parameters
- control
- Type: System.Web.UIControl
Control - dateTime
- Type: SystemDateTime
Date time - usedTimeZone
- Type: CMS.GlobalizationTimeZoneInfo
Time zone used for time conversion
Return Value
Type:
DateTimeSee Also