ToolAssay

Date Math

Date Math: Find the time zone and current local time in up to 10 cities by name ("Cebu", "São Paulo", "Springfield" + country). 7,000+ cities. Use for "what time is it in" questions and to get the IANA zone the other tools need.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
31 msmedian answer time
$0.001listed price per call
$0.001price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://date-math.datemath.workers.dev/v1/city

CategoryEverything else
Provider hostdate-math.datemath.workers.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.001 36 ms
2026-11-25 valid payment request 402$0.001 34 ms
2026-11-24 valid payment request 402$0.001 31 ms
2026-11-23 valid payment request 402$0.001 36 ms
2026-11-22 valid payment request 402$0.001 26 ms
2026-11-21 valid payment request 402$0.001 29 ms
2026-11-20 valid payment request 402$0.001 29 ms
2026-11-19 valid payment request 402$0.001 36 ms
2026-11-18 valid payment request 402$0.001 34 ms
2026-11-17 valid payment request 402$0.001 39 ms
2026-11-16 valid payment request 402$0.001 1589 ms
2026-11-15 valid payment request 402$0.001 28 ms
2026-11-14 valid payment request 402$0.001 28 ms
2026-11-13 valid payment request 402$0.001 52 ms
2026-11-12 valid payment request 402$0.001 39 ms
2026-11-11 valid payment request 402$0.001 31 ms
2026-11-10 valid payment request 402$0.001 29 ms
2026-11-09 valid payment request 402$0.001 32 ms
2026-11-08 valid payment request 402$0.001 28 ms
2026-11-07 valid payment request 402$0.001 32 ms

Example input (from the provider)

{
  "body": {
    "cities": [
      "Cebu",
      "London",
      "New York"
    ]
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "description": "Pass \"city\" or \"cities\".",
          "properties": {
            "at": {
              "description": "ISO 8601 instant to show local time for; default now",
              "type": "string"
            },
            "cities": {
              "items": {
                "type": "string"
              },
              "maxItems": 10,
              "minItems": 1,
              "type": "array"
            },
            "city": {
              "example": "Cebu",
              "type": "string"
            },
            "country": {
              "description": "ISO 3166-1 alpha-2 country code (207 countries); its public holidays (2000\u20132050) are excluded from business days",
              "example": "US",
              "pattern": "^[A-Za-z]{2}$",
              "type": "string"
            }
          },
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "at": {
              "type": "string"
            },
            "results": {
              "items": {
                "properties": {
                  "alternatives": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "best": {
                    "properties": {
                      "country": {
                        "type": "string"
                      },
                      "local_time": {
                        "type": "string"
                      },
                      "match": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "population": {
                        "type": "integer"
                      },
                      "region": {
                        "type": "string"
                      },
                      "timezone": {
                        "type": "string"
                      },
                      "utc_offset": {
                        "type": "string"
                      },
                      "weekday": {
                        "type": "string"
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "found": {
                    "type": "boolean"
                  },
                  "query": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "at",
            "results"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON