timeformatconvert

0.0.3 • Public • Published

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'

Dependents (0)

Package Sidebar

Install

npm i timeformatconvert

Weekly Downloads

1

Version

0.0.3

License

none

Unpacked Size

2.66 kB

Total Files

4

Last publish

Collaborators

  • luoye10