TimeZoneDatabaseGetTimeZone Method
IT Hit WebDAV Classes Reference
Gets IANA and Windows time zone based on provided time zone ID.
Namespace:
ITHit.Collab.Calendar
Assembly:
ITHit.Collab (in ITHit.Collab.dll) Version: 1.0.0.540 (1.0.0.540)
Syntax public static TimeZoneInfo GetTimeZone(
string timeZoneId
)
Public Shared Function GetTimeZone (
timeZoneId As String
) As TimeZoneInfo
public:
static TimeZoneInfo^ GetTimeZone(
String^ timeZoneId
)
static member GetTimeZone :
timeZoneId : string -> TimeZoneInfo
Parameters
- timeZoneId
- Type: SystemString
IANA or Windows time zone ID.
Return Value
Type:
TimeZoneInfoTime zone description or
null if time zone with such ID is not found.
See Also