piXel-m / GeoTimeZone

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GeoTimeZone

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

PM> Install-Package GeoTimeZone

Example:

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

Note: this uses the public domain time zone border map data from http://efele.net/maps/tz/world/ which may or may not align with your worldview. Use at your own risk.

About

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

License:Other


Languages

Language:C# 100.0%