format-time-both-my
v1.0.6
Published
fotmat time YY-MM-DD HH:mm:ss
Downloads
18
Readme
install
cnpm install format-time-both-my
use
import {formatTimeBoth} from 'format-time-both-my'
const time = new Date();
formatTimeBoth(time); // 2020-06-01 16:55:55