Skip to content

A lib to work with JavaScript timezone offset

License

Notifications You must be signed in to change notification settings

ChoMPi0/tz-offset

 
 

Repository files navigation

tz-offset

npm npm Build Status dependencies Status devDependencies Status

A lib to work with JavaScript timezone offset

Usage

var tzOffset = require("tz-offset")
tzOffset.offsetOf("America/Sao_Paulo"); // 180.

tzOffset.removeOffset(new Date()); // a givend date without timezone offset.

tzOffset.timeAt(new Date(), "Europe/London"); // a given date represented in another.

About

A lib to work with JavaScript timezone offset

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.6%
  • Ruby 13.4%