ToolAssay

Date Math

Date Math: Daylight saving time for a time zone: does it observe DST, the year's exact clock changes (UTC instant, local before/after), and whether a local time is valid, skipped (spring-forward gap, e.g. 02:30) or repeated (fall-back, happens twice). Use before scheduling jobs, alarms or meetings near clock changes.

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

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 45 ms
2026-11-25 valid payment request 402$0.001 35 ms
2026-11-24 valid payment request 402$0.001 28 ms
2026-11-23 valid payment request 402$0.001 28 ms
2026-11-22 valid payment request 402$0.001 34 ms
2026-11-21 valid payment request 402$0.001 28 ms
2026-11-20 valid payment request 402$0.001 39 ms
2026-11-19 valid payment request 402$0.001 34 ms
2026-11-18 valid payment request 402$0.001 32 ms
2026-11-17 valid payment request 402$0.001 29 ms
2026-11-16 valid payment request 402$0.001 33 ms
2026-11-15 valid payment request 402$0.001 25 ms
2026-11-14 valid payment request 402$0.001 1186 ms
2026-11-13 valid payment request 402$0.001 33 ms
2026-11-12 valid payment request 402$0.001 20 ms
2026-11-11 valid payment request 402$0.001 32 ms
2026-11-10 valid payment request 402$0.001 1412 ms
2026-11-09 valid payment request 402$0.001 21 ms
2026-11-08 valid payment request 402$0.001 1490 ms

Example input (from the provider)

{
  "body": {
    "datetime": "2026-03-08T02:30",
    "timezone": "America/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": {
          "properties": {
            "datetime": {
              "description": "Local wall time to check, without offset: YYYY-MM-DDTHH:MM[:SS]",
              "example": "2026-03-08T02:30",
              "type": "string"
            },
            "timezone": {
              "description": "IANA time zone, e.g. Asia/Manila",
              "example": "Asia/Manila",
              "type": "string"
            },
            "year": {
              "description": "Year to list (default: the datetime's year, else the current year)",
              "maximum": 2100,
              "minimum": 1900,
              "type": "integer"
            }
          },
          "required": [
            "timezone"
          ],
          "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": {
            "check": {
              "properties": {
                "instants": {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                "local": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                },
                "resolved": {
                  "type": "string"
                },
                "status": {
                  "enum": [
                    "valid",
                    "skipped",
                    "repeated"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "local",
                "status",
                "instants",
                "resolved",
                "note"
              ],
              "type": [
                "object",
                "null"
              ]
            },
            "dst_offset": {
              "type": [
                "string",
                "null"
              ]
            },
            "observes_dst": {
              "type": "boolean"
            },
            "standard_offset": {
              "type": "string"
            },
            "timezone": {
              "type": "string"
            },
            "transitions": {
              "items": {
                "properties": {
                  "at_utc": {
                    "type": "string"
                  },
                  "change_minutes": {
                    "type": "integer"
                  },
                  "local_after": {
                    "type": "string"
                  },
                  "local_before": {
                    "type": "string"
                  },
                  "offset_after": {
                    "type": "string"
                  },
                  "offset_before": {
                    "type": "string"
                  },
                  "type": {
                    "enum": [
                      "clocks_forward",
                      "clocks_back"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "at_utc",
                  "local_before",
                  "local_after",
                  "offset_before",
                  "offset_after",
                  "change_minutes",
                  "type"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "year": {
              "type": "integer"
            }
          },
          "required": [
            "timezone",
            "year",
            "observes_dst",
            "standard_offset",
            "dst_offset",
            "transitions",
            "check"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON