@exdee/timejs
v2.0.0
Published
```js const timejs = require('@exdee/timejs') //timejs.convertTimezone(date, offset) let time = timejs.convertTimezone(new Date(), -4) //returns offset of -4 hours from UTC date console.log(time) ``` convertTimezone is the only method here. More
Downloads
14
Readme
Methods
const timejs = require('@exdee/timejs')
//timejs.convertTimezone(date, offset)
let time = timejs.convertTimezone(new Date(), -4)
//returns offset of -4 hours from UTC date
console.log(time)
convertTimezone is the only method here. More can be added based off user input. Email me at [email protected]