Compatibility and OS Data Dependencies
mainSupported Frameworks
- .NET 6, .NET 8, .NET 9
- .NET Core 2.0 or greater
- .NET Framework 4.6.2 and greater
OS Dependencies
While the library has no external data dependencies at runtime (data is embedded), certain methods like TZConvert.GetTimeZoneInfo rely on the underlying operating system's time zone data:
- Windows: Data is retrieved from the registry via Windows Updates.
- OSX/Linux: Data is retrieved from the IANA time zone database (usually the
tzdatapackage).
Note for Docker users: Alpine Linux Docker images for .NET Core do not include tzdata by default; you must install it for TZConvert.GetTimeZoneInfo to function correctly.