convert-time-gmt

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i convert-time-gmt

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

6.11 kB

Total Files

9

Last publish

Collaborators

  • cargdev