Skip to main content
Version: v25

CustomFormatter

Interface

Methods

format

Formats date and time

Signature

format(date: Date) => string

Parameters

NameType
dateDate

Returns

string


formatLocal

Converts date and time to local timezone.

Signature

formatLocal(date: Date) => string

Parameters

NameType
dateDate

Returns

string