What's the Current Week Number? (2024)

This week is ...

Week 23

Week 23 is from Monday, June 3, 2024 until (and including) Sunday, June 9, 2024.

Week number according to the ISO-8601 standard, weeks starting on Monday. The first week of the year is the week that contains that year's first Thursday (='First 4-day week').ISO representation: 2024-W23

The highest week number in a year is either 52 or 53.
2024 has 52 weeks.

ISO 8601 is not the only week numbering system in the world, other systems use weeks starting on Sunday (US) or Saturday (Islamic).

Lists of week numbers by year :2023 -2024 -2025 -2026 ...

Programming routines

Microsoft Excel / LibreOffice Calc

=ISOWEEKNUM(TODAY())or (in older versions):=WEEKNUM(TODAY(),21)

Where the return type '21' is ISO-8601 (week starting on Monday).

In Excel 2007 your best choice is WEEKNUM(TODAY(),2) (2=week starting Monday).
WEEKNUM(TODAY()) will show the week number with weeks starting on Sunday (return type = 1).

Google Docs Spreadsheet

=WEEKNUM(TODAY();21)

Type (here '21') is compatible with Excel/LibreOffice, 21 is ISO-8601

PHP

$weekNumber = date("W"); 

or date("W", epoch) for other week numbers. Remember to use capital 'W' not 'w'.

Python

datetime.date.today().isocalendar()[1]

PERL

my $weekNumber = POSIX::strftime("%V", gmtime time);

Replace time with other epoch/UNIX timestamps for other week numbers.

Java

Calendar now = Calendar.getInstance();now.get(Calendar.WEEK_OF_YEAR);

Use WEEK_OF_YEAR in the Calendar class.
More info on Stack Overflow

JavaScript

Date.prototype.getWeek = function () { var target = new Date(this.valueOf()); var dayNr = (this.getDay() + 6) % 7; target.setDate(target.getDate() - dayNr + 3); var firstThursday = target.valueOf(); target.setMonth(0, 1); if (target.getDay() != 4) { target.setMonth(0, 1 + ((4 - target.getDay()) + 7) % 7); } return 1 + Math.ceil((firstThursday - target) / 604800000);}var d= new Date();alert(d.getWeek());

Extend the Date class using the above code.

C#

See the ISO-8601 update on Stack Overflow

MySQL

SELECT WEEKOFYEAR(NOW())

Replace now() with other dates eg. SELECT WEEKOFYEAR('2024-02-20');
(You can also use the WEEK function with mode=3 select week(now(),3))

PostgreSQL

SELECT * FROM EXTRACT(WEEK from current_date())

MS SQL

SELECT DATEPART( wk, GETDATE() )

Oracle

SELECT to_char(sysdate, 'IW') FROM DUAL 

IW: Week of year (1-52 or 1-53) based on the ISO-8601 standard.
WW: Week of year (1-53) where week 1 starts on the first day of the year and continues to the seventh day of the year (Mostly NOT used)

iSeries SQL

SELECT WEEK(NOW()) from sysibm.sysdummy1

iPhone/Mac

[NSString stringWithFormat:@"Week %d", [calendar ordinalityOfUnit:NSWeekCalendarUnit inUnit:NSYearCalendarUnit forDate:date]]; 

iPhone/iOS/Swift

let gregorian = NSCalendar(calendarIdentifier: NSCalendarIdentifierGregorian)!gregorian.firstWeekday = 2 // Mondaygregorian.minimumDaysInFirstWeek = 4let components = gregorian.components(.WeekOfYearCalendarUnit | .YearForWeekOfYearCalendarUnit, fromDate: date)let week = components.weekOfYearlet year = components.yearForWeekOfYear

R

lubridate::week()

Ruby

week_number = Time.now.strftime("%U")

Replace Time.now with Time.local(year,month,day) for other dates.
Formats:
%U - Week number of the year, starting with the first Sunday as the first day of the first week (00..53)
%V - Week number of year according to ISO-8601 (01..53)
%W - Week number of the year, starting with the first Monday as the first day of the first week (00..53)

Go

year, week := time.Now().ISOWeek()

Linux/Unix shell (bash)

date +%V 

Returns the ISO-8601 week number.
Other formats under 'Ruby'. More details in the Linux Programmer's Manual

Lua

Current_week = os.date("%V")

Formats: see formats under 'Ruby'.

Windows PowerShell

Get-Date -UFormat %V# or"{0:d2}" -f ($(Get-Culture).Calendar.GetWeekOfYear($(Get-Date), [System.Globalization.CalendarWeekRule]::FirstFourDayWeek, [DayOfWeek]::Monday))

X++ (Microsoft Dynamics AX)

int weeknum;weeknum = weekOfYear(today());

C/AL (Microsoft Dynamics NAV):

MESSAGE(FORMAT(CALCDATE('CW', TODAY), 0, '<week>'));


Thanks to everyone who sent me corrections and updates!

What's the Current Week Number? (2024)

FAQs

What's the Current Week Number? ›

The calendar week for today is 24.

What is the week number for today? ›

Please note that there are multiple systems for week numbering, this is the ISO week date standard (ISO-8601), other systems use weeks starting on Sunday (US) or Saturday (Islamic). The current week (week 24) is highlighted. Find more info on our main week number page.

What is the current week number in 2024? ›

Week 24. Week 24 is from Monday, June 10, 2024 until (and including) Sunday, June 16, 2024. The highest week number in a year is either 52 or 53. 2024 has 52 weeks.

What is week 17 of 2024? ›

Calendar week 17 in the year 2024
Day of the weekDate
Monday22. Apr
Tuesday23. Apr
Wednesday24. Apr
Thursday25. Apr
3 more rows

What week of the year is it currently? ›

We are currently in week 23 of 52 weeks in 2024, and today is day 155. This is calculated from today's date (June 3, 2024) using the ISO-8601 date standard.

What is the week number counting? ›

Monday or Sunday First? There are at least six different week numbering systems currently in use around the world. The most common is the International Standard ISO 8601, where Monday is the first day of the week followed by Tuesday, Wednesday, Thursday, Friday, Saturday, and with Sunday as the seventh and final day.

What is week numbers in calendar? ›

The weeks of the year in a Gregorian calendar are numbered from week 1 to week 52 or 53, depending on several varying factors. Most years have 52 weeks, but if the year starts on a Thursday or is a leap year that starts on a Wednesday, that particular year will have 53 numbered weeks.

What number of day is today? ›

Day 163. Day of the year is a number between 1 and 366 (in 2024), January 1 is day 1.

How do I find the week number from the current date? ›

The week corresponding to the given date can be calculated with the help of the following three steps.
  1. Step 1: Find the number of days in that year, till the given date.
  2. Step 2: Note the day of the 1st of January of the given year.
  3. Step 3: Calculate the odd day according to the day on which the 1st of January falls.

How weeks are in 2024? ›

How Many Work Weeks Are There In 2024? 2024 is a leap year, which means it spans a total of 366 days. There are 52 full calendar weeks spread throughout the year. While some people will work all 52 weeks, people typically take some time off from work.

What is week 7 in 2024? ›

Calendar week 7 in the year 2024
Day of the weekDate
Thursday15. Feb
Friday16. Feb
Saturday17. Feb
Sunday18. Feb
3 more rows

What is week 8 in 2024? ›

Calendar weeks 2024
Calendar weekMondaySaturday
819. Feb24. Feb
926. Feb2. Mar
104. Mar9. Mar
1111. Mar16. Mar
29 more rows

What is week 19 in 2024? ›

Calendar week 19 in the year 2024
Day of the weekDate
Thursday9. May
Friday10. May
Saturday11. May
Sunday12. May
3 more rows

What is week 20 in 2024? ›

Calendar week 20 in the year 2024
Day of the weekDate
Thursday16. May
Friday17. May
Saturday18. May
Sunday19. May
3 more rows

How many weeks in 2025? ›

There are 52 weeks in 2025. All weeks are starting on Monday and ending on Sunday. Please note that there are multiple systems for week numbering, this is the ISO week date standard (ISO-8601), other systems use weeks starting on Sunday (US) or Saturday (Islamic).

How many weeks are in 2024 financial year? ›

On the above chart, fiscal years 2024 and 2030 have 53 weeks.

How many weeks at 6 months? ›

What Happens at 6 Months of Pregnancy? 24 Weeks Pregnant.

Which national day is today? ›

NATIONAL MAKING LIFE BEAUTIFUL DAY | June 11.

What week number is it now? ›

The calendar week for today is 24.

How can I count weeks? ›

We can easily count the number of weeks in a month by first counting the number of days in the month. Then, we divide the number of days by 7 since 1 week has 7 days. For example, the month of January has 31 days, so the number of weeks in January would be: 31/7 = 4 weeks + 3 days.

Who uses week numbers? ›

Weeks in a Gregorian calendar year can be numbered for each year. This style of numbering is often used in European and Asian countries. It is less common in the U.S. and elsewhere.

How to check week in calendar? ›

On your computer, open Google Calendar. In the top right, choose a view: Day, Week, Month, Year, Schedule, or 4 days.

What is a week on the calendar? ›

Definitions of calendar week. noun. a period of seven consecutive days starting on Sunday. synonyms: week.

How to calculate week number? ›

For example, in 2008, January 1st to January 6th are in week 1 and January 7th to the 13th are in week 2, so if my date was January 10th 2008, my week number would be 2.

What is week 23 in 2024? ›

Calendar week 23 in the year 2024
Day of the weekDate
Thursday6. Jun
Friday7. Jun
Saturday8. Jun
Sunday9. Jun
3 more rows

How do you find the week of the day? ›

Calculate What Day of the Week it is With Our Simple Formula
  1. Take the last two digits of the year.
  2. Add to that one–quarter of those two digits (discard any remainder).
  3. Add to that the day of the month and the Month Key number for that month: Read Next. ...
  4. Divide the sum by 7. The remainder is the day of the week!
May 6, 2024

What day of the week is the 7th? ›

The international standard ISO 8601 for representation of dates and times states that Sunday is the seventh and last day of the week.

What number is Monday in the week? ›

Numbers 1 (Monday) through 7 (Sunday).

Top Articles
Latest Posts
Article information

Author: Reed Wilderman

Last Updated:

Views: 6384

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Reed Wilderman

Birthday: 1992-06-14

Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

Phone: +21813267449721

Job: Technology Engineer

Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.