1.0.2 • Published 2 years ago
strnow v1.0.2
strnow
Get formated date and time (YYYY-MM-DD HH:mm:ss)
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