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