Skip to content

@vtj


@vtj / base / dateFormat

Function: dateFormat()

dateFormat(date, format): string

Parameters

date

string | number | Date

format

string = 'YYYY-MM-DD HH:mm:ss'

Returns

string

Defined in

packages/base/src/day.ts:6

Released under the MIT License.