@ldaca/formatter-date

1.0.3 • Public • Published

ldaca/formatter-date

Whenever I start a new project, I don't know what to write for the first commit. After doing a “git init” there is technically nothing there...

Install

npm install formatter-date

Usage

import { format } from "formatter-date";

let date = new Date();
let formattedDate = format(date, 'yyyymmddhhiissms');
console.log(formattedDate);

Contributing

If someone wants to add or improve something, I invite you to collaborate directly in this repository: formatter-date

License

formatter-date is released under the MIT License.

/@ldaca/formatter-date/

    Package Sidebar

    Install

    npm i @ldaca/formatter-date

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    2.21 kB

    Total Files

    4

    Last publish

    Collaborators

    • ldaca