TimeZoneHelperGetUTCStringOffset Method |
Returns string representation of time zone shift in form '(UTC + 00:00)'.
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 11.0.0
Syntax public static string GetUTCStringOffset(
TimeZoneInfo tzi,
string format = null
)
Parameters
- tzi
- Type: CMS.GlobalizationTimeZoneInfo
Time zone info - format (Optional)
- Type: SystemString
Format string, if null following format is used - '(UTC {0:zzz})'
Return Value
Type:
StringSee Also