Skip to main content

foundation-utils.formatdatetimetimestampwithmilliseconds

Home > @genesislcap/foundation-utils > formatDateTimeTimestampWithMilliseconds

formatDateTimeTimestampWithMilliseconds() function

Formats [DATETIME] UNIX Timestamps (with time and milliseconds) to readable strings

Signature:

export declare function formatDateTimeTimestampWithMilliseconds(timestamp: number): string;

Parameters

Parameter

Type

Description

timestamp

number

Returns:

string