Delx

Timestamp Converter

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.

>_Timestamp ConverterLIVE API

Usage

CLI

delx timestamp now
delx timestamp 1709472000
delx timestamp "2024-03-03T12:00:00Z"

REST (curl)

curl -X POST https://api.delx.ai/api/v1/utils/timestamp \
  -H "Content-Type: application/json" \
  -d '{"input": "now"}'

MCP (JSON-RPC)

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "timestamp",
    "arguments": { "input": "now" }
  }
}

FAQ

Does it handle millisecond timestamps?

Yes. If the number is larger than 10 digits, it is automatically treated as milliseconds and converted to seconds for the epoch output.

What timezone is used?

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.

What formats does it accept?

Unix epoch (seconds or milliseconds), ISO 8601 strings with or without timezone, and the keyword "now" for the current server time.

Related

Related Tools

← All ToolsCLI Docs