{"id":"iso-date-to-week","version":"1.0.0","description":"Convert a YYYY-MM-DD calendar date to an ISO-8601 week date.","supported_operations":["iso date to week","convert calendar date to iso week date","iso week year week and weekday"],"unsupported_operations":["locale week numbers","Sunday-first weeks","ISO ordinal dates","timezones","datetime input","fiscal weeks"],"semantics":["Input date is a strict YYYY-MM-DD proleptic Gregorian UTC calendar date with year 0001-9999.","ISO weeks start on Monday. Week 1 is the week that contains the first Thursday of the ISO week-numbering year.","The ISO week-numbering year may differ from the calendar year near 1 January.","Output year, week, and weekday are JSON integers. weekday is 1=Monday through 7=Sunday.","iso is YYYY-Www-D with a zero-padded year and week (for example 2026-W02-4)."],"limits":{"year_min":1,"year_max":9999,"date_length":10},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["date"],"properties":{"date":{"type":"string","minLength":10,"maxLength":10,"pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["year","week","weekday","iso"],"properties":{"year":{"type":"integer","minimum":1,"maximum":9999},"week":{"type":"integer","minimum":1,"maximum":53},"weekday":{"type":"integer","minimum":1,"maximum":7},"iso":{"type":"string","pattern":"^\\d{4}-W\\d{2}-[1-7]$"}}},"examples":[{"input":{"date":"2026-01-08"},"output":{"year":2026,"week":2,"weekday":4,"iso":"2026-W02-4"}}],"execute_url":"/v1/tools/iso-date-to-week/versions/1.0.0/execute"}