@fxhacker/get_date

2.6.0 • Public • Published

Get_Date is designed to make displaying the current date and time easier for your projects.

Require Package: const now = require('/fxhacker/get_date')

If the current date and time is Thu Feb 14 2019 18:03:27 GMT-0700 you are able to output the following:

now.getTime => 06:03:27

now.getMilitaryTime => 18:03:27

now.getHours => 18

now.getMinutes => 03

now.getSeconds => 27

now.getDayOfWeek = > Thu

now.getDayOfWeekFull = > Thursday

now.getDayNumber => 14

now.getMonth => Feb

now.getMonthFull => February

now.getYear => 2019

now.getTimezone => GMT-0700

Package Sidebar

Install

npm i @fxhacker/get_date

Weekly Downloads

1

Version

2.6.0

License

MIT

Unpacked Size

5.91 kB

Total Files

3

Last publish

Collaborators

  • fxhacker