Appearance
Home > resol-vbus-core > utils > Formatter > datecode
utils.Formatter.datecode() method
Formats a Date into a UTC datecode representation ('YYYYMMDD').
Signature:
typescript
datecode(timestamp: Date): string;Parameters
Parameter | Type | Description |
|---|---|---|
timestamp | Date | The timestamp. |
string
The UTC datecode string represenation.