ISO week date
The 8601 week date of a calendar date (week-year, week, and weekday, like 2026-W53-5), or the calendar date of a week date, with the week's Monday and Sunday.
Experimental: not yet fully verified. How results are checked
2027-01-01 is 2026-W53-5, a Friday.
- Week-year
- Week
- Weekday
- Calendar date
- Monday of the week
- Sunday of the week
Provenance
- Computed by
- time.scale.iso-week 1.0.0, core 0.1.0
- Model
- ISO 8601-1:2019 week dates: weekday 1 (Monday) to 7 (Sunday); the week-year and week are those of the week's Thursday; week 01 is the week holding 4 January; a year has 53 weeks when it starts on a Thursday, or on a Wednesday in a leap year
- Accuracy
- Exact
- Notes
- 1 shown with the answer
- Cites
- International Organization for Standardization, ISO 8601-1:2019, Date and time, Part 1: Basic rules
Something look off?
How we got thisFormula, worked example, sources, and proof
Model: ISO 8601-1:2019 week dates: weekday 1 (Monday) to 7 (Sunday); the week-year and week are those of the week's Thursday; week 01 is the week holding 4 January; a year has 53 weeks when it starts on a Thursday, or on a Wednesday in a leap year
Accuracy: Exact
When to use this: Use this to find the week number of a date for a schedule, a payroll period, a sprint plan, or a log file, or to turn a week number someone gave you back into dates. Enter a date to get its week, or a week like 2026-W53 to get its Monday and Sunday. Weeks run Monday to Sunday, so the first days of January can belong to the last week of the year before, and the last days of December to week 1 of the next.
Limitations: It uses only the ISO 8601 rule. US calendars that start weeks on Sunday, and systems that count the week holding 1 January as week 1, number some weeks differently, most often in the first and last week of a year. The week-year can differ from the calendar year for up to three days at either end of it. Dates run from year 0001 to 9999 on the proleptic Gregorian calendar, which does not match historical calendars before 1582.
Worked example: 1 January 2027. Source: add-celestial-and-moon time spec scenario: 2027-01-01 is 2026-W53-5. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.
You enter
- Date
- 2027-01-01
You get
- ISO week date
- 2026-W53-5
- Week-year
- 2026
- Week
- 53
- Weekday
- Friday
- Calendar date
- 2027-01-01
- Monday of the week
- 2026-12-28
- Sunday of the week
- 2027-01-03
- Weeks in the week-year
- 53
Review: Not yet independently reviewed by a geodesist.
Last verified: 2026-10-20, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.
Status: version 1.0.0, core 0.1.0. See this tool in the verification report.
Checked against: 22 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.
Sources
- ISO 8601-1:2019, Date and time, Part 1: Basic rules, International Organization for Standardization, ISO 8601-1:2019 with Amd 1:2022. Week dates: weeks begin on Monday, week 01 holds the year's first Thursday (so 4 January), and a year has 52 or 53 weeks. Paid only.
Terms
- ISO: International Organization for Standardization
- The body that publishes international standards, among them ISO 8601 for writing dates and times, including week dates like 2026-W53-5. Source: ISO 8601-1:2019, Date and time, Part 1: Basic rules
Experimental means this tool has not yet met the stable bar: at least 20 golden vectors, differential tests, and an independent worked example.
ISO — International Organization for Standardization
The body that publishes international standards, among them ISO 8601 for writing dates and times, including week dates like 2026-W53-5.
Source: ISO 8601-1:2019, Date and time, Part 1: Basic rules