Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

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

Install

npm i tz-maker

DownloadsWeekly Downloads

19

Version

1.0.4

License

ISC

Unpacked Size

4.6 kB

Total Files

10

Last publish

Collaborators

  • avatar