base-time
v0.0.5
Published
Convert to the desired format based on the time parameters and format passed in by the user
Downloads
8
Readme
timeFormat
Convert to the desired format based on the time parameters and format passed in by the user
import {timeFormat} from 'base-time'
// example
timeFormat(1600209728230,'YYYY-MM-DD hh:mm') => '2020-09-16 06:42'