ToolAssay

Date Math

Date Math: Calendar facts for a date: day of the week, ISO week number, quarter, day of year, leap year, weekend. Use for "what day is", week numbers and fiscal quarters.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
1162 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/info

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

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.001 27 ms
2026-11-25 valid payment request 402$0.001 38 ms
2026-11-24 valid payment request 402$0.001 1228 ms
2026-11-23 valid payment request 402$0.001 27 ms
2026-11-22 valid payment request 402$0.001 1162 ms
2026-11-21 valid payment request 402$0.001 1261 ms
2026-11-20 valid payment request 402$0.001 1261 ms
2026-11-19 valid payment request 402$0.001 31 ms
2026-11-18 valid payment request 402$0.001 1322 ms
2026-11-17 valid payment request 402$0.001 24 ms
2026-11-16 valid payment request 402$0.001 1310 ms
2026-11-15 valid payment request 402$0.001 28 ms
2026-11-14 valid payment request 402$0.001 1634 ms
2026-11-13 valid payment request 402$0.001 1622 ms
2026-11-12 valid payment request 402$0.001 30 ms
2026-11-11 valid payment request 402$0.001 33 ms
2026-11-10 valid payment request 402$0.001 29 ms
2026-11-09 valid payment request 402$0.001 1288 ms
2026-11-08 valid payment request 402$0.001 27 ms
2026-11-07 valid payment request 402$0.001 37 ms

Example input (from the provider)

{
  "body": {
    "date": "2026-11-07"
  },
  "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": {
          "properties": {
            "date": {
              "example": "2026-11-07",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            }
          },
          "required": [
            "date"
          ],
          "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": {
            "date": {
              "type": "string"
            },
            "day_of_year": {
              "type": "integer"
            },
            "days_in_month": {
              "type": "integer"
            },
            "days_in_year": {
              "type": "integer"
            },
            "days_remaining_in_year": {
              "type": "integer"
            },
            "is_leap_year": {
              "type": "boolean"
            },
            "is_weekend": {
              "type": "boolean"
            },
            "iso_week": {
              "type": "integer"
            },
            "iso_year": {
              "type": "integer"
            },
            "quarter": {
              "type": "integer"
            },
            "unix_seconds": {
              "type": "integer"
            },
            "weekday": {
              "type": "string"
            },
            "weekday_number": {
              "description": "ISO: Monday=1 \u2026 Sunday=7",
              "type": "integer"
            }
          },
          "required": [
            "date",
            "weekday",
            "iso_week",
            "quarter",
            "day_of_year",
            "is_leap_year",
            "is_weekend"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON