date-getter-xyz
v1.0.3
Published
converts stamps to readable day mon yr time format
Downloads
4
Readme
Table of contents
Package Description
This package helps to convert stamp date (maybe returned from a db)
to a "day month, year - time" format, which is easy to read
Usage
install this package with the above command
require package in module = Es5 --> const { getDateToday } = 'date-getter-xyz'; = Es6 ---> import { getDateToday } = 'date-getter-xyz';
Invoke getDateToday and assign to a variable (assigment is optional!)
Pass in stamp date into the function let myDate = getDateToday(stamp)
Thanks for using this multi-million dollar package