Returns UTC date time in dependence on given time zone.
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- dateTime
- Type: System DateTime
DateTime to convert
- timeZoneInfo
- Type: CMS.Globalization TimeZoneInfo
Time zone
Return Value
Type: DateTimeSee Also