1.0.0 • Published 2 years ago

convert-time-gmt v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Convert time GMT

convert the timestamp in a format yyyy/mm/dd hh:mm:ss with GMT as default

Installing

npm i convert-time-gmt --save

Usage

On the main file:

const gmtConversion = require('convert-time-gmt')

gmtConversion() // 2021/22/11 12:00:00

gmtConversion(new Date()) // 2021/22/11 12:00:00

gmtConversion(new Date(), 'GMT-05:00') // 2021/22/11 07:00:00
1.0.0

2 years ago

0.2.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago