user-friendly-date-formatter
Display the date and time in a simple, user-friendly way.
Usage
Install the package...
$ npm i user-friendly-date-formatter
...then...
const df = ; // or import df from 'user-friendly-date-formatter' const userFriendlyDate = ;console;// -> Sep 23, 2006 at 9:53 pm
API
Year
%YYYY
%YY
Month
%fMM
%fM
%MM
%M
Date
%DD
%D
Day
%ddd
%dd
%d
Hour
%H
%h
Minute
%m
Second
%s
Millisecond
%l
%t
Suffix
%a
Hope this package helps you!
Found a bug? Open an issue or ping me on Discord: Vehmloewff#0714.