ISO week numbers

Convert a date to its ISO 8601 week (year, week, weekday) with the Monday and Sunday of that week, or a week to its dates.

CHF 0.001 / callNot open to the public yet
Bond marine chronometer, ca. 1812
Bond marine chronometerca. 1812

Details

Rules: weeks start on Monday; week 1 contains the first Thursday of the year; some years have 53 weeks.

Price: CHF 0.001 per call.

Example: {"date":"2027-01-01"} → {"iso":"2026-W53-5","monday":"2026-12-28","sunday":"2027-01-03"}.

Status

The tools are not open to the public yet.

Input schema JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "date": {
      "type": "string",
      "format": "date"
    },
    "year": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9999
    },
    "week": {
      "type": "integer",
      "minimum": 1,
      "maximum": 53
    }
  },
  "examples": [
    {
      "date": "2027-01-01"
    }
  ]
}

More in Time