Skip to content

Provides an IANA time zone identifier from latitude and longitude coordinates.

License

Notifications You must be signed in to change notification settings

mikamikem/GeoTimeZone

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoTimeZone NuGet Version

Provides an IANA time zone identifier from latitude and longitude coordinates.

Nuget Installation

PM> Install-Package GeoTimeZone

Supported Environments

As of version 3.0, this library is targeting .NET Standard 1.1+, .NET Standard 2.0+, and .NET Framework 4.0+. See the .NET Standard Platform Support Matrix for further details.

Example Usage

string tz = TimeZoneLookup.GetTimeZone(50.4372, -3.5559).Result;  // "Europe/London"

Usage Notes

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.

License

This library is provided free of charge, under the terms of the MIT license.

About

Provides an IANA time zone identifier from latitude and longitude coordinates.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%