Function: formatFullTimestamp()
formatFullTimestamp(
timestamp
:number
):string
Defined in: src/utils/time.ts:78
Formats timestamp as a full localized date/time string.
Parametersโ
timestampโ
number
Unix timestamp in milliseconds
Returnsโ
string
Localized date/time string
Remarksโ
Uses the user's locale settings to format the timestamp according to their regional preferences. Suitable for displaying detailed timestamp information in logs or detailed views.
Exampleโ
formatFullTimestamp(1640995200000); // "12/31/2021, 4:00:00 PM" (US locale)