Appearance
GetTimeZoneInfo Method
Definition
- Namespace:
JASE - Assembly:
JASE.dll
TimeZoneInfo GetTimeZoneInfo(string windowsOrIanaId)
csharp
TimeZoneInfo GetTimeZoneInfo(string windowsOrIanaId)Resolves a TimeZoneInfo instance from either a Windows time zone ID or an IANA time zone ID.
Parameters
| Name | Description |
|---|---|
windowsOrIanaId | A time zone identifier, which can be either a Windows ID (e.g., "Pacific Standard Time") or an IANA ID (e.g., "America/Los_Angeles"). |
Returns
A TimeZoneInfo object representing the resolved time zone.