grid-pro.formatdateextra
Home > @genesislcap/grid-pro > formatDateExtra
formatDateExtra() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Warning: This API is now obsolete.
No longer used in the Grid Pro package.
Returns a formatted date value from an epoch number.
Signature:
export declare function formatDateExtra(epoch: number): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
epoch |
number |
A number representing the number of milliseconds since the Unix epoch (1 January 1970 00:00:00 UTC). |
Returns:
string
A formatted date value.