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'

/timeformatconvert/

    Package Sidebar

    Install

    npm i timeformatconvert

    Weekly Downloads

    0

    Version

    0.0.3

    License

    none

    Unpacked Size

    2.66 kB

    Total Files

    4

    Last publish

    Collaborators

    • luoye10