Convert date time with dependence on time zone type from server date time.
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- dateTime
- Type:
System DateTime
Server date time
- type
- Type: CMS.Globalization TimeZoneTypeEnum
Time zone type
- customTimeZone
- Type: CMS.Globalization TimeZoneInfo
Custom time zone info
- usedTimeZone
- Type: CMS.Globalization TimeZoneInfo
Time zone used for time conversion
Return Value
Type:![Online Online](./../icons/online_icon.gif)
See Also