# Saylor Innovations Unix Timestamp Converter

> Saylor Innovations Unix Timestamp Converter is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Converts Unix timestamps (seconds or milliseconds) to ISO 8601, weekday, and day-of-year, or converts an ISO 8601 date to Unix time

## Facts

- Endpoint: GET https://saylorinnovations.com/api/calc/unix?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-unix-timestamp-converter-149e8dee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5vLAvFBAYe2I7fH66WjNf

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 saylor-innovations-unix-timestamp-converter-149e8dee
```

Example prompt: What date and day of the week does Unix timestamp 1700000000 correspond to, and what day of the year is it?

## When to prefer this

Use this endpoint when you need to quickly convert between Unix epoch time (seconds or milliseconds) and human-readable date formats including ISO 8601, RFC 2822, weekday, and day-of-year — especially in developer or automation workflows. Prefer it over manual calculation or generic date libraries when you want a single API call that returns all relevant date representations at once, including the relative offset from the current time.

## Known failure modes

- Missing required 'value' query parameter returns an error
- Malformed or unrecognizable date/timestamp string may return a parsing error
- Extremely out-of-range timestamps may produce null or undefined fields
- Non-numeric input when a Unix time is expected may cause a validation error

## How this service works

Unix timestamp converter - unix seconds or milliseconds to ISO 8601 date, weekday and day of year, or a date to unix time

## Output

Returns a JSON object containing the ISO 8601 UTC date string, RFC 2822 date, weekday name, day of year (numeric), Unix seconds, Unix milliseconds, seconds from now (positive or negative), the input value echoed back, the detected input kind (seconds, milliseconds, or ISO date), and the UTC time the check was run.

## 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": [
      "value"
     ],
     "properties": {
      "value": {
       "type": "string",
       "description": "Unix seconds, unix milliseconds or an ISO 8601 date"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "iso_utc",
      "unix_seconds"
     ],
     "properties": {
      "input": {
       "type": [
        "string",
        "null"
       ]
      },
      "iso_utc": {
       "type": "string",
       "description": "Iso utc"
      },
      "rfc2822": {
       "type": "string"
      },
      "weekday": {
       "type": "string",
       "description": "Day of the week"
      },
      "checked_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the check was run (UTC)"
      },
      "input_kind": {
       "type": "string",
       "description": "Input kind"
      },
      "day_of_year": {
       "type": "number",
       "description": "Day of year"
      },
      "unix_seconds": {
       "type": "number",
       "description": "Unix, in seconds"
      },
      "seconds_from_now": {
       "type": [
        "number",
        "null"
       ],
       "description": "Seconds from now"
      },
      "unix_milliseconds": {
       "type": "number",
       "description": "Unix milliseconds"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-unix-timestamp-converter-149e8dee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
