Practical guide

ISO Week Year vs Calendar Year: Check Dates Around New Year

An ISO week label contains a week-year, week number and weekday. January 1 can belong to the previous ISO year, and late December can belong to the next. Use the Monday-start week containing the year’s first Thursday, and keep all three fields together when converting a week label back to a date.

Calendar users working with Gregorian dates and practical planning data · 4 minute read · Published

On this page

Read the complete year, week and weekday

The calendar date 2027-01-01 has calendar year 2027, but its ISO fields are 2026-W53-5. That label means Friday, the fifth ISO weekday, in week 53 of ISO year 2026. The year attached to a week label is not always the year printed in the date.

ISO weeks run Monday through Sunday, numbered 1 through 7 for the weekday. The first ISO week is the week containing the year’s first Thursday. Equivalently, it is the week containing January 4. An ISO year has 52 or 53 complete weeks. These definitions are documented in Python’s ISO calendar methods; the examples below were also checked with a separate Thursday/January 4 calculation.

Do not keep only “week 1” in a report or file. Store its week-year too, and state that the week system is ISO. A fiscal or term week can use a different anchor even if it starts on Monday.

Find week 1 without guessing from January 1

  1. Choose the ISO year you want to locate.
  2. Find January 4 in its Gregorian calendar.
  3. Move back to that week’s Monday, including January 4 itself when it is Monday.
  4. That Monday starts week 1; add seven days for each later numbered week.

For ISO year 2027, January 4 is Monday, so week 1 starts January 4. For ISO year 2026, January 4 is Sunday, so week 1 starts December 29, 2025. A week’s Monday can therefore occur in the previous calendar year.

To classify an arbitrary date, locate the Thursday in its Monday–Sunday week. That Thursday’s calendar year is the ISO week-year. Then count whole weeks from the Monday of that ISO year’s week 1.

Inspect a complete New Year boundary

Original Gregorian dates and computed ISO labels
Calendar dateWeekdayISO week-yearWeekISO weekday
2026-12-28Monday2026531
2027-01-01Friday2026535
2027-01-03Sunday2026537
2027-01-04Monday202711
2028-01-01Saturday2027526

On a narrow screen, scroll inside the table to read its remaining columns. Keyboard users can focus the table and use the arrow keys.

The first three dates are in one Monday–Sunday week. Splitting that week just because the calendar year changes would create a different convention. January 4 starts the next ISO year’s first week.

Late December can move the other way: December 29, 2025 is Monday in 2026-W01. Keep the actual calendar date and the full week label as separate fields rather than rewriting one to look like the other.

Convert a week label back to a date

After validating the fields, take the Monday of week 1, add 7 × (week − 1) days, then add weekday − 1 days. The last term is zero for Monday. Validate the resulting date’s ISO fields against the requested tuple to catch an impossible week.

For 2026-W53-1, week 1 starts December 29, 2025. Adding 52 weeks reaches Monday December 28, 2026. The resulting ISO fields are exactly 2026, 53, 1. For 2026-W53-5, four more days reaches January 1, 2027.

In Python, date.fromisocalendar(year, week, weekday) performs this conversion, while date.isocalendar() returns the fields. These methods are useful checks; a calendar application’s displayed week-number setting still needs its own convention identified.

Reject week 53 when the year has only 52 weeks

ISO year 2027 has 52 weeks, so 2027-W53-1 is invalid. Adding 52 weeks to 2027’s week 1 Monday would reach January 3, 2028, whose ISO label is 2028-W01-1. A formula that returns that date without validating its fields has silently moved into a different week-year.

Week 0, a Sunday-based first week, or a week 1 defined to contain January 1 does not match this ISO convention. Ask for the system definition before converting a supplied label. Monday-start alone is insufficient: the first-week rule matters as well.

The existing twentieth-Monday comparison explains a different task: an ordinal weekday inside a calendar year versus a numbered recurrence week. It is useful when that wording appears in an event rule, but it does not make every organization’s week numbering ISO.

Two complete ISO-field checks

Case 1

A report lists January 1, 2027 as 2026-W53. Must its calendar date be changed to 2026?

Show answer and explanation for case 1

No. The calendar date is 2027-01-01; the week-year field is 2026.

Friday January 1 shares its ISO week with Thursday December 31, 2026. The Thursday determines ISO year 2026. Preserve both representations instead of forcing their year fields to agree.

Case 2

A file says 2027-W53-1. Can it be converted by adding 52 weeks to the start of week 1?

Show answer and explanation for case 2

Reject the tuple or obtain a correction: ISO 2027 has no week 53.

The arithmetic candidate is January 3, 2028, which belongs to 2028-W01. Checking the candidate’s ISO tuple exposes the invalid input. Returning it as week 53 of 2027 would hide the error.

Sources and further reading