![]() |
VOOZH | about |
dotnet add package GeoTimeZone --version 6.1.0
NuGet\Install-Package GeoTimeZone -Version 6.1.0
<PackageReference Include="GeoTimeZone" Version="6.1.0" />
<PackageVersion Include="GeoTimeZone" Version="6.1.0" />Directory.Packages.props
<PackageReference Include="GeoTimeZone" />Project file
paket add GeoTimeZone --version 6.1.0
#r "nuget: GeoTimeZone, 6.1.0"
#:package GeoTimeZone@6.1.0
#addin nuget:?package=GeoTimeZone&version=6.1.0Install as a Cake Addin
#tool nuget:?package=GeoTimeZone&version=6.1.0Install as a Cake Tool
Provides an IANA time zone identifier from latitude and longitude coordinates.
PM> Install-Package GeoTimeZone
As of version 6.0.0, GeoTimeZone works with all of the following:
Note that .NET Framework versions less than 4.6.2 are no longer supported.
string tz = TimeZoneLookup.GetTimeZone(50.4372, -3.5559).Result; // "Europe/London"
This library returns IANA time zone IDs. If you need a Windows time zone ID, pass the return value into the TimeZoneConverter library's TZConvert.IanaToWindows method, or to TZConvert.GetTimeZoneInfo to get a TimeZoneInfo object in a platform-neutral manner.
This library uses the time zone border definitions from the Timezone Boundary Builder project, which in-turn derive from Open Street Map. As some international borders are the subject of dispute, the results may or may not align with your worldview. Use at your own risk.
Huge thank you to the following people:
This library is provided free of charge, under the terms of the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on GeoTimeZone:
| Package | Downloads |
|---|---|
|
Bsb.Services.TimeZoneLookupService
This service allows user to lookup time zone by zip code or geo location and covert time zone between windows and IANA format |
|
|
Co.Backend.Packages.Infrastructure
Package Description |
|
|
PrabalGhosh.Utilities
Package Description |
|
|
Astap.Lib
Package Description |
|
|
Nox.Types.Extensions
Package Description |
Showing the top 2 popular GitHub repositories that depend on GeoTimeZone:
| Repository | Stars |
|---|---|
|
t1m0thyj/WinDynamicDesktop
Port of macOS Mojave Dynamic Desktop feature to Windows
|
|
|
rocksdanister/weather
Windows native weather app powered by DirectX12 animations
|
| Version | Downloads | Last Updated |
|---|---|---|
| 6.1.0 | 920,691 | 10/31/2025 |
| 6.0.0 | 1,378,387 | 1/26/2025 |
| 5.3.0 | 3,147,685 | 9/10/2023 |
| 5.2.0 | 1,231,205 | 12/19/2022 |
| 5.1.0 | 508,658 | 9/20/2022 |
| 5.0.0 | 71,278 | 9/6/2022 |
| 4.1.0 | 2,585,156 | 9/17/2020 |
| 4.0.0 | 1,061,453 | 6/18/2019 |
| 3.2.0 | 1,119,702 | 4/27/2018 |
| 3.1.0 | 54,790 | 11/6/2017 |
| 3.0.0 | 12,459 | 10/21/2017 |
| 2.0.0 | 121,040 | 12/30/2016 |
| 1.3.0 | 122,072 | 6/9/2016 |
| 1.2.0 | 34,087 | 5/6/2016 |
| 1.1.0 | 32,457 | 11/15/2015 |
| 1.0.1 | 9,362 | 7/28/2014 |
| 1.0.0 | 7,193 | 7/28/2014 |