Skip to content

SIDOVSKY/tz-lookup-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tz-lookup-net

The port of the fast and lightweight JS library https://github.com/darkskyapp/tz-lookup-oss

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

PLATFORM NuGet

Installing

Add NuGet package to your .NET Standard 2.0 - compatible project

PM> Install-Package TzLookup

Usage

var timeZoneName = TimeZoneLookup.Iana(42.7235, -73.6931);

// timeZoneName: "America/New_York"

See the README of the original library for more details.

Special thanks to

DarkSky and all contributors of the original JS library.

License

Like the original library, this project is licensed under the Creative Commons Zero v1.0.

This work and all rights to it are dedicated to the public domain.