# Dev Reference: Timestamp Format Converter

> Dev Reference: Timestamp Format Converter is a paid API for AI agents from dev-reference.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Converts a timestamp (RFC 3339, ISO 8601, HTTP-date, or epoch seconds) into multiple standard formats including RFC 3339, HTTP-date, RFC 5322, ISO 8601 basic, and epoch seconds/milliseconds.

## Facts

- Endpoint: GET https://dev-reference.x402tookit.com/datetime-convert?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dev-reference-timestamp-format-converter-92de3981
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7t17KzuMGUlSx6Rk2JT2g

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dev-reference-timestamp-format-converter-92de3981
```

Example prompt: Convert the timestamp 2024-03-15T14:30:00Z into all the standard formats — I need RFC 3339, HTTP-date, RFC 5322, ISO 8601 basic, and epoch seconds.

## When to prefer this

Use this endpoint when you need to convert a single timestamp between multiple standard date/time formats at once — especially when working across HTTP, email, or ISO standards simultaneously. Prefer this over custom code or manual conversion when you need all major formats in one call, or when parsing potentially ambiguous input formats like HTTP-date or offset-naive ISO strings.

## Known failure modes

- Invalid or unparseable timestamp string returns an error or null fields
- Missing both 'value' and 'epoch' query parameters results in a missing-input error
- Ambiguous offset-naive timestamp without 'assumeOffset' may produce unexpected UTC interpretation
- Malformed offset string in 'assumeOffset' may cause a parsing failure
- Negative or very large epoch values may not be supported by all output formats

## How this service works

Convert a timestamp (RFC 3339, ISO 8601, HTTP-date or epoch seconds) to RFC 3339, HTTP-date, RFC 5322, basic ISO and epoch.

## Output

Returns an object with the converted timestamp in multiple standard formats: RFC 3339 UTC, RFC 3339 with original offset, HTTP-date, RFC 5322, ISO 8601 basic, ISO week date, ordinal date, epoch seconds, epoch milliseconds, weekday, and metadata about which offset was used and the input kind detected.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "epoch": {
       "type": "number",
       "description": "Seconds since 1970-01-01T00:00:00Z (may be fractional or negative)"
      },
      "value": {
       "type": "string",
       "description": "RFC 3339/ISO 8601 timestamp or HTTP-date such as 'Sun, 06 Nov 1994 08:49:37 GMT'"
      },
      "assumeOffset": {
       "type": "string",
       "description": "For timestamps without an offset: +hh:mm or Z to assume"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "rfc5322": {
       "type": [
        "null",
        "string"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "weekday": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "httpDate": {
       "type": [
        "null",
        "string"
       ]
      },
      "inputKind": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "rfc3339Utc": {
       "type": [
        "null",
        "string"
       ]
      },
      "isoWeekDate": {
       "type": [
        "null",
        "string"
       ]
      },
      "ordinalDate": 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dev-reference-timestamp-format-converter-92de3981/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dev-reference.x402tookit.com](https://www.zero.xyz/host/dev-reference.x402tookit.com/llms.txt)
