Skip to content

node-cron/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

Contributors 4

  •  
  •  
  •  
  •