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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i tz-maker

      Weekly Downloads

      65

      Version

      1.0.4

      License

      ISC

      Unpacked Size

      4.6 kB

      Total Files

      10

      Last publish

      Collaborators

      • inorainllc