Skip to content

API reference > @kontsedal/olas-devtools > formatTime

formatTime() function ​

Render an HH:MM:SS.mmm timestamp from epoch ms.

Signature:

typescript
export declare function formatTime(t: number): string;

Parameters ​

Parameter

Type

Description

t

number

Returns:

string

Released under the MIT License.