Skip to main content

Convert Timestamp to Date/Time

Command description

Converts a timestamp at the specified precision to a datetime object.

Command Input Parameters

input parametersInput parameter typeDescription
Timestampnumber or strUnix timestamp to convert. Accepts a number or a numeric string.
Timestamp PrecisionenumSeconds, Milliseconds, Microseconds

Command Output Parameters

Output parametersOutput parameter typeDescription
Date/TimedatetimeConverted datetime object

AI Workflow Generation Notes

  • The timestamp must be a number or a string that can be converted into a number; do not mix seconds, milliseconds, and microseconds.