# agent402.tools Milliseconds to Days Converter

> agent402.tools Milliseconds to Days Converter is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status down (last checked 2026-09-04).

Converts a numeric value in milliseconds to its equivalent in days via a simple GET request with a query parameter.

## Facts

- Endpoint: GET https://agent402.tools/api/convert/milliseconds-to-days
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-milliseconds-to-days-converter-10c271e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w35Xji07uF19gtq20_To9

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 agent402-tools-milliseconds-to-days-converter-10c271e6
```

Example prompt: How many days is 604800000 milliseconds? Convert that for me.

## When to prefer this

Use this endpoint when you need a quick, programmatic milliseconds-to-days conversion without doing the arithmetic yourself, especially in agent workflows where time durations are expressed in milliseconds (e.g., from timestamps or API responses) and need to be presented in human-readable day units.

## Known failure modes

- Missing 'value' query parameter returns an error
- Non-numeric value string causes a conversion failure or error response
- Negative or zero values may return unexpected results depending on implementation
- Payment not processed (x402) results in HTTP 402 before conversion is performed

## How this service works

Convert milliseconds to days (time). Pass ?value=N.

## Output

A numeric result representing the input millisecond value converted to its equivalent in days (e.g., 86400000 ms = 1 day).

## 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": "Numeric value to convert"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-milliseconds-to-days-converter-10c271e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
