Returns DateTime according timezone information.
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- dateTime
- Type:
System DateTime
Source datetime
- srcTimeZoneInfo
- Type: CMS.Globalization TimeZoneInfo
Source timezone
- destTimeZoneInfo
- Type: CMS.Globalization TimeZoneInfo
Destination timezone
- timeZonesRequired (Optional)
- Type:
System Boolean
If true than the time is converted only if timezones are enabled in the system
Return Value
Type:
See Also