Skip to content

Function: formatDate()

formatDate(date, template): string

date-fns format date

Parameters

date: string | number | Date

template: string = 'yyyy-MM-dd'

Returns

string

Defined in

packages/valaxy/client/utils/time.ts:9