Click or drag to resize
TimeZoneHelperGetUTCStringOffset Method
Returns string representation of time zone shift in form '(UTC + 00:00)'.

Namespace: CMS.Globalization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 11.0.0
Syntax
C#
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: String
See Also