fromTimestamp

Returns the date from the given Unix timestamp.
Accepts
Returns
Syntax
fromTimestamp(timestamp) timestamp.fromTimestamp()

The timestamp represents the number of milliseconds that have elapsed since January 1, 1970. Note: the returned date will not retain the seconds and milliseconds.

JavaScript
fromTimestamp(1689024900000)