time-pack
is an ultra-simplified way to handle dates and times.
- Feature 1: Gets a current date string for the four time zones in the USA: Pacific, Mountain, Central, Eastern.
Install the package using npm:
npm install time-pack
const t = require("time-pack");
console.log(t.GetCurrentDate("Eastern"));
Or:
const { GetCurrentDate } = require("time-pack");
console.log(GetCurrentDate("Eastern"));
Output will be today's current date according to Eastern time.