Datetime: Date From Timestamp
Convert a Unix timestamp (seconds, milliseconds, or microseconds since the
epoch) into a DateTime in UTC.
Example
Unit: Seconds → 1704067200 → 2024-01-01T00:00:00+00:00
Unit: Milliseconds → 1704067200000 → 2024-01-01T00:00:00+00:00
Unit: Microseconds → 1704067200000000 → 2024-01-01T00:00:00+00:00
Parameters
Unit—REQUIRED
Precision of the incoming timestamp: - Seconds (default) — whole seconds
since Unix epoch. - Milliseconds — milliseconds since Unix epoch. -
Microseconds — microseconds since Unix epoch.
Input
Number—REQUIRED
The Unix timestamp value.
Output
DateTime
The resulting UTC datetime.