ts-monorepo

Home > @whatsaaaa/utils > formatTimestamp

formatTimestamp() function

Format a timestamp as a string

Signature:

export declare function formatTimestamp(date: Date): string;

Parameters

Parameter Type Description
date Date the date value to format

Returns:

string