0.0.5 • Published 12 months ago
base-time v0.0.5
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'