1.0.1 • Published 2 years ago

cml-timezone-conversion v1.0.1

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

Command Line Interface Timezone Conversion

Simple Command Line program that finds the current time anywhere in the world using timezone conversion

How to use:

The format takes three arguments & which is as follows: "node ". Node & (index.js) are already declared, and the default timezone is for Chicago, Central Standard Time.

To run locally,

npm i cml-timezone-conversion
npx cml-timezone-conversion

In Terminal, type "node index.js "America/Los_Angeles" or whichever location to see the current time & timezone of that location. The same 3 argument format (node || index.js || ) will work with any major city & timezone.

Once the app is run, the data will be displayed as such:

"The time at the America/Los_Angeles timezone is 2022-09-25T22:04:43-07:00"

See Moment Timezonehttps://momentjs.com/timezone/ npm docs for further detais regarding avaliable timezones