Free to use, no account

Kalkulator for ukenummer

Oppgi en dato for å finne ukenummer, ukeår og datoene fra mandag til søndag etter ISO 8601. Du kan også sammenligne en kalenderukeregel som starter på søndag, mandag eller lørdag.

Egendefinert modus regner uken som inneholder 1. januar som uke 1 og merker den med kalenderåret. ISO 8601 kan plassere datoer nær nyttår i et annet ukeår. Datoberegninger utføres med UTC; tidssonekonvertering og regler for regnskapsår brukes ikke.

Hvordan finner jeg ukenummeret for en dato?

Velg ISO 8601 eller en regel for kalenderuker, oppgi datoen og beregn. ISO-uker starter på mandag, og uke 1 er uken som inneholder 4. januar. Ukeåret kan avvike fra kalenderåret rundt nyttår.

Veiledning

Slik bruker du week-number-calculator

The Week Number Calculator tells you which week of the year a date falls in. By default it follows ISO 8601, where weeks run Monday to Sunday and week 1 holds January 4. It can also use a simpler calendar-week rule that starts on Sunday, Monday or Saturday. It shows the week number, the week-year and the first and last day of that week. It does not handle fiscal weeks.

Slik gjør du

  1. Pick the date with the date box.
  2. Choose the week-number system: ISO 8601, or Calendar week where week 1 contains January 1. If you choose the calendar week, pick Sunday, Monday or Saturday as the first day of the week.
  3. Press Find week. The result lists the week number, the week-year, the day the week starts and the day it ends.
  4. Press Copy result to copy those four lines, Try an example to load a sample date, or Reset to clear the page.

Eksempler

A New Year date in ISO mode

Du skriver inn
Dato
2021-01-01
System
ISO 8601
Du får
Ukenummer
53
Ukeår
2020
Uken starter
December 28, 2020
Uken slutter
January 3, 2021

January 1, 2021 was a Friday. An ISO week belongs to the year that holds its Thursday, and that Thursday was December 31, 2020, so the date falls in week 53 of 2020.

Kjørt med verktøyets egen kode.

A late December date that is already next year's week 1

Du skriver inn
Dato
2024-12-30
System
ISO 8601
Du får
Ukenummer
1
Ukeår
2025
Uken starter
December 30, 2024
Uken slutter
January 5, 2025

The Thursday of that week is January 2, 2025, so the week counts as week 1 of 2025 even though the date itself is in 2024.

Kjørt med verktøyets egen kode.

The same date with the calendar-week rule

Du skriver inn
Dato
2021-01-01
System
Calendar week
Første ukedag
Sunday
Du får
Ukenummer
1
Ukeår
2021
Uken starter
December 27, 2020
Uken slutter
January 2, 2021

In this mode week 1 is the week that contains January 1 and it is labeled with the calendar year. With Saturday as the first day the same date gives week 1 starting December 26, 2020.

Kjørt med verktøyets egen kode.

One week with two labels

Du skriver inn
Dato
2024-12-30
System
Calendar week
Første ukedag
Sunday
Du får
Ukenummer
53
Ukeår
2024
Uken starter
December 29, 2024
Uken slutter
January 4, 2025

Entering January 1, 2025 in the same mode returns week 1 of 2025 for the very same seven days, because each date takes the label of its own calendar year.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Find the ISO week number printed on a work schedule, a school plan or a shipping document.
  • Plan a project or a sprint by week number and see the Monday and Sunday of each week.
  • Check why a date near New Year belongs to the last week of one year or the first week of the next.
  • Compare an ISO week number with a simple Sunday-start or Saturday-start week count.

Begrensninger

  • Only date-only calculations are done, in UTC. There is no time zone conversion and no time of day.
  • The calendar-week mode is a plain rule, not a claim about the official numbering of any country or employer. In it, the same seven days can carry week 53 of one year and week 1 of the next.
  • The tool does not calculate fiscal weeks, 4-4-5 retail calendars or company-specific week counts.
  • The date has to be a real calendar date. An impossible date such as February 29 in a non-leap year shows the message to enter a valid date.

Tips

  • Use the ISO mode when a document says ISO week or week number without more detail, and check the week-year as well as the week number.
  • Look at the week-start and week-end lines to see which dates share a week with your date.
  • Near January 1, run your date twice, once in ISO mode and once in calendar-week mode, to see why two systems can disagree.

Vanlige spørsmål

How do I find the week number for a date?

Pick the date, choose ISO 8601 or a calendar-week rule, and press Find week. ISO weeks start on Monday, and week 1 is the week that contains January 4. The result also shows the dates the week starts and ends.

Why can the ISO week-year differ from the calendar year?

An ISO week belongs to the year that contains its Thursday. A date in early January can therefore sit in the last week of the previous year, and a date in late December can sit in week 1 of the next year.

What does the calendar-week option mean?

It counts the week that contains January 1 as week 1, using the first day you choose. The label stays with the calendar year of the date. It is a simple comparison rule, not a statement about any country's official system.

Why do I get week 53 in some years?

Some ISO years have 53 weeks, because the year holds 53 Thursdays. In the calendar-week mode, week 53 can show up at the end of December when the last week of the year runs into January.

Does the tool calculate fiscal week numbers?

No. Fiscal calendars can use their own start dates and patterns such as 4-4-5. This tool only does ISO weeks and the stated January 1 rule, so check your company's calendar for fiscal weeks.

Does the time zone change my result?

No. It works with the date alone, using UTC, so no time of day or time zone is involved. The date you pick is the date used.

Is my date sent to a server?

No. The calculation runs in your browser and the date is not uploaded or saved by the tool.

Kilder

Ofte stilte spørsmål

Hvordan finner jeg ukenummeret for en dato?

Velg ISO 8601 eller en regel for kalenderuker, oppgi datoen og beregn. ISO-uker starter på mandag, og uke 1 er uken som inneholder 4. januar. Ukeåret kan avvike fra kalenderåret rundt nyttår.

Sendes datoen min til en server?

Nei. Datoberegningen kjøres i nettleseren. Datoen lastes ikke opp eller lagres av dette verktøyet.

Hvorfor kan ISO-ukeåret avvike fra kalenderåret?

En ISO-uke tilhører året som inneholder torsdagen i uken. En dato tidlig i januar kan derfor tilhøre den siste ISO-uken i foregående år, og en dato sent i desember kan tilhøre uke 1 i neste ISO-år.

Hva betyr det egendefinerte alternativet for kalenderuke?

Uken som inneholder 1. januar, nummereres som uke 1, med valgt første ukedag. Uken tilordnes kalenderåret. Dette er en tydelig sammenligningsregel, ikke en påstand om den offisielle konvensjonen i landet ditt eller hos arbeidsgiveren din.

Beregner dette ukenummer for regnskapsår?

Nei. Regnskapskalendere kan bruke organisasjonsspesifikke startdatoer og regler som 4-4-5. Dette verktøyet beregner bare ISO-uker eller den oppgitte regelen for kalenderuke med 1. januar.