npm

tz-maker

1.0.4 • Public • Published

Simple Date to specific timezone converter

Usage example

const TZ = require("tz-maker");
let t = new TZ(new Date(),"+2");
t.convert();
console.log(t.date); //returns converted date

API

TZ.getTimeZoneInHours() //returns time zone in hours ex +4,-4,-2,+2

Package Sidebar

Install

npm i tz-maker

Weekly Downloads

8

Version

1.0.4

License

ISC

Unpacked Size

4.6 kB

Total Files

10

Last publish

Collaborators

  • inorainllc