@exdee/timejs

2.0.0 • Public • Published

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 support@pinnaclebot.net

Readme

Keywords

none

Package Sidebar

Install

npm i @exdee/timejs

Weekly Downloads

0

Version

2.0.0

License

ISC

Unpacked Size

1.21 kB

Total Files

3

Last publish

Collaborators

  • exdee