strnow

1.0.2 • Public • Published

strnow

Get formated date and time (YYYY-MM-DD HH:mm:ss)

npm version License: MIT

Installation

yarn add strnow --dev

or

npm install strnow --save-dev

Usage

const strnow = require('strnow');
const str_now = strnow.get();
console.log(str_now);
// OUTPUT EXAMPLE: 2018-07-19 14:21:40

/strnow/

    Package Sidebar

    Install

    npm i strnow

    Weekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    2.61 MB

    Total Files

    45

    Last publish

    Collaborators

    • marceloxp