Share via


TimeZoneConverter Class

Definition

Time zone converter. (1) From Windows (.NET) timezone to iana timezone. (2) From iana timezone to windows (.NET) timezone. windows ref: https://support.microsoft.com/en-us/help/22803/daylight-saving-time. iana ref: https://www.iana.org/time-zones. See database dictionary in file WindowsIanaMapping.

public static class TimeZoneConverter
type TimeZoneConverter = class
Public Class TimeZoneConverter
Inheritance
TimeZoneConverter

Methods

IanaToWindows(String)

convert IANA timezone format to windows timezone format.

WindowsToIana(String)

Convert windows timezone to iana timezone.

Applies to