TransformationHelperGetDateTime Method (Control, Object) |
Returns date time with dependence on current ITimeZone manager time zone settings.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax public DateTime GetDateTime(
Control control,
Object dateTime
)
Parameters
- control
- Type: System.Web.UIControl
Control containing ITimeZoneManager - dateTime
- Type: SystemObject
DateTime to convert (server time zone)
Return Value
Type:
DateTimeSee Also