TimeZoneHelperGetUTCStringOffset Method |
Returns string representation of time zone shift in form '(UTC + 00:00)'.
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 10.0.0
Syntaxpublic 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:
String
See Also