time-pack
v1.0.3
Published
[![npm version](https://badge.fury.io/js/time-pack.svg)](https://badge.fury.io/js/time-pack) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Downloads
14
Readme
time-pack
Overview
time-pack
is an ultra-simplified way to handle dates and times.
Features
- Feature 1: Gets a current date string for the four time zones in the USA: Pacific, Mountain, Central, Eastern.
Installation
Install the package using npm:
npm install time-pack
Usage
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.