@evacuatesw/date-library
v1.0.4
Published
JS Date Object Wrapper
Downloads
12
Readme
Date Library
Date library is a JS library which provides straight-forward, powerful functions for working with the Date Object in JavaScript. Although originally builted into JavaScript and can be called by using new Date()
, it can also be used with other objects and for other purposes. A TypeScript version will be included in the main library that should available for use automatically.
Table of Contents
Features
- Get the year or month first when formatting
- Get the difference between days to get a future or past day
- Retrive the current seconds, month, day or year
- Retrieve the month or year in abbrievated form
Installing
Packgae Manager
Using npm:
$ npm i @evacuatesw/date-library
Using yarn: ``$ yarn add @evacuatesw/date-library`
NPM
License
Keywords
date javascript date object