Convert between Unix epoch seconds, ISO 8601 strings, and human-readable formats. Pass "now" to get the current timestamp in all formats at once. Handles millisecond and second precision automatically.
delx timestamp now delx timestamp 1709472000 delx timestamp "2024-03-03T12:00:00Z"
curl -X POST https://api.delx.ai/api/v1/utils/timestamp \
-H "Content-Type: application/json" \
-d '{"input": "now"}'{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "timestamp",
"arguments": { "input": "now" }
}
}Yes. If the number is larger than 10 digits, it is automatically treated as milliseconds and converted to seconds for the epoch output.
All outputs are in UTC. The ISO 8601 output includes the Z suffix. If you pass a timezone-aware string, it is first normalized to UTC.
Unix epoch (seconds or milliseconds), ISO 8601 strings with or without timezone, and the keyword "now" for the current server time.