Skip to content

Home > resol-vbus-core > utils > Formatter > timecode

utils.Formatter.timecode() method

Formats a Date into a UTC timecode representation ('HHMMSS').

Signature:

typescript
timecode(timestamp: Date): string;

Parameters

Parameter

Type

Description

timestamp

Date

The timestamp.

**Returns:**

string

The UTC timecode string representation.