TimeZoneHelperGetUTCLongStringOffset Method (IUserInfo, ISiteInfo) |
Returns "long" string representation of used time zone (user, site or server) in form '(UTC + 00:00) TimeZoneDisplayName'.
Returns null if time zones are disabled.
Namespace: CMS.GlobalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax public static string GetUTCLongStringOffset(
IUserInfo userInfo,
ISiteInfo siteInfo
)
Parameters
- userInfo
- Type: CMS.BaseIUserInfo
- siteInfo
- Type: CMS.BaseISiteInfo
Return Value
Type:
StringSee Also