npm

Don't miss out on this year's npm Pride t-shirt designs!Order your favorites here »

tz-offset

0.0.2 • Public • Published

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.

install

npm i tz-offset

Downloadsweekly downloads

35,329

version

0.0.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability