Skip to content

A tiny module of getting a string of your machine's timezone offset.

Notifications You must be signed in to change notification settings

eanplatter/timezone-offset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

#Timezone Offset This will get your offset for you formatted like this: "-06:00".

Installation

To install just run npm i --save timezone-offset in your terminal.

Usage

To use just do the following:

  const timezoneOffset = require("timezone-offset")

  timezoneOffset() // "-5:00"

About

A tiny module of getting a string of your machine's timezone offset.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published