• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:47
CET 00:47
KST 08:47
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !8Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
When will we find out if there are more tournament ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament $5,000+ WardiTV 2025 Championship RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1:
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
How Rain Became ProGamer in Just 3 Months BGH Auto Balance -> http://bghmmr.eu/ FlaSh on: Biggest Problem With SnOw's Playstyle screp: Command line app to parse SC rep files [BSL21] RO8 Bracket & Prediction Contest
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
Mechabellum Stormgate/Frost Giant Megathread Nintendo Switch Thread PC Games Sales Thread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1857 users

[G] Determine the day of the week for any date!

Forum Index > General Forum
Post a Reply
Thats_The_Spirit
Profile Blog Joined April 2009
Netherlands138 Posts
Last Edited: 2010-06-18 12:55:40
June 18 2010 12:54 GMT
#1
Determine the day of the week for any given date!

Did you ever have to look up what day of the week it will be on a certain date in the future? Do you wonder if you will be able to attend a birthday or wedding at a certain date? Do you want to know if you have to work during an upcoming holiday?
Or you want to know on which day of the week you were born?

A while ago I saw a video of Kim Peek, a megasavant with a developmental disorder who among other things could instantly tell which day of the week it was on any given date in the past. A little while later I saw another guy do it during a TED talk and I thought it was pretty impressive.
After that I was curious and started to google around on the subject. I found out that there are different methods and algorhythms using only mental calculations to do this. I played around with it and after a while I was able to determine days of the week for any given date within 30 seconds. “Easier” dates requiring less steps can easily be done within 10 seconds. With more practice you can do it faster and faster.

I really like it as an additional skill in my daily life, so I thought I would make this guide for 2 reasons. The 1st reason is to share it with you guys and gals so you can use it for your own convenience or even to impress your friends. The 2nd reason is to help me understand and memorize the method better as I explain it.

The following method I think is the easiest to use.

Step 1

The first step is to make March the 1st month of the year. Januari and Februari will be month 11 and 12. This is to circumvent the annoyingness of leapyears which will otherwise cause difficulty in your calculations.

Step 2

After the 1st step the days of the year will have a fixed pattern, which will be very easy to remember. There are distinctive dates which will always share the same day of the week:
  • April 4th
  • June 6th
  • August 8th
  • Oktober 10th
  • December 12th

See the pattern here? The 4th day of the 4th month, the 6th day of the 6th month, etc.

For the remaining months there are easy mnemonics:

“From 9 to 5” : September 5th and May 9th
“ Seven eleven”: July 11th and November 7th

The remaining 3 months will require a bit of memorizing: Januari 9th, Februari 6th and March 7th.

All the above dates share the same day of the week!

Step 3

The day of the week which all the above dates share will be called “Day 0” from now on.
Memorize that Day 0 of the year 2000 is a Tuesday. So all the above dates from March 2000 to Februari 2001 are a Tuesday! (Remember that we started to count from March, so Januari and Februari 2000 belong to the previous year).

Step 4

So now all we have to do is learn to determine Day 0 of a given year.
For that I will give a little background on how the Gregorian calendar works, which was first introduced in 1582.
Every year that can be devided by 4, and not by 100 is a leapyear. Exceptions to this rule are years which can be devided by 400, which are all leapyears.
So 1900 is not a leapyear. 1904, 1908, 1912, 1916, etc are leapyears. 2000 is a leapyear.

Step 5

Now the list of rules:

Rule 1:
Every year Day 0 will jump forward 1 day, and every leapyear Day 0 will jump forward 2 days.
We memorized that Day 0 of 2000 was a Tuesday, so Day 0 of 2001 was Wednesday, Day 0 of 2002 was a Thursday etc.

Rule 2:
Another trick to remember is to determine Day 0 of any given century:

Too Sunny For Work (Tuesday, Sunday, Friday, Wednesday)

Day 0 of 2000 was a Tuesday, so this means that 2100 will be a Sunday, 2200 a Friday, etc. If we count backwards we will see that Day 0 of 1900 was a Wednesday.

Rule 3:
What follows is that every 12 years after the start of a given century the day of the week will jump forward 1 day.
(1900: Day 0 = Wednesday, 1912: Day 0 = Thursday, etc)

Rule 4:
Also every 4 years after the start of the century the day of the week will jump backwards 2 days.


This is all you need to know to be able to determine the day of the week for any given date.



Lets try some examples:

Lets start with figuring out the day of the week Albert Einstein was born. The date was March 14th 1879.
  • First we determine Day 0 of the year 1800 with the 2nd rule of step 5: Friday.
  • Using the 3rd rule we make steps of 12 years to get close to the date. In this case its 6x12 => 1872. We now know that Day 0 of 1872 is a Thursday. (Friday + 6 days, or Friday – 1 day)
  • Now we use the 4th rule to go even closer to the given date: 1872 + 4 = 1876
    Day 0 of 1876 = Tuesday (Thursday – 2 days)
  • 3 years later, in 1879, Day 0 will be a Friday (Use the 1st rule)
  • Now we know from step 2 that March 7th is a Friday. Therefore March 14th is also a Friday, and there is your answer: Albert Einstein was born on a Friday!


Now try this one: Februari 22nd 2021. I’ll put the answer in spoiler tags.
+ Show Spoiler +

  • Day 0 of 2000 = Tuesday
  • Remember that the month Januari and Februari belong to 2020 with our way of counting.
  • Day 0 of 2012 = Wednesday
  • Day 0 of 2020 = Saturday (count back 4 days or forward 3 days)
  • Februari 6th = Saturday (see step 2)
  • Februari 20th is also a Saturday (+14 days), so Februari 22nd 2021 is a Monday!



At first it might seem like a lot of steps, but you will soon find out that the more you practice the faster it goes because you will be more familiar with its pattern. After that you can even leave steps out or find other ways that work better for you.

Here are the sources if you want to know more:
Gregorian_calendar
Calculating_the_day_of_the_week#Mental_calculation
Kim_Peak
http://www.ted.com/talks/lang/eng/arthur_benjamin_does_mathemagic.html

Also if you want to practice more, you can use wolframalpha to see if your answer is correct. Just type in the date and it will give the day of the week among other data.

EDIT: Meh, I should have posted this as my 100th post... ah well
TurbulentTurtle
Profile Joined March 2010
Canada230 Posts
June 18 2010 14:57 GMT
#2
What if one of your friends has a laptop or whatever with them, and then they get the date quicker than you do? Then you won't be able to impress any of your friends because you can't even beat a computer!
Thats_The_Spirit
Profile Blog Joined April 2009
Netherlands138 Posts
June 19 2010 06:42 GMT
#3
Hehe

Actually with a bit of practice you can beat a person with a laptop or smartphone ^_^
flamewheel
Profile Blog Joined December 2009
FREEAGLELAND26781 Posts
June 19 2010 06:46 GMT
#4
Holy wow, this seems really sweet. I'm going to have to practice this.
Thanks!
Writerdamn, i was two days from retirement
Empyrean
Profile Blog Joined September 2004
17020 Posts
June 19 2010 07:00 GMT
#5
On June 19 2010 15:42 Thats_The_Spirit wrote:
Hehe

Actually with a bit of practice you can beat a person with a laptop or smartphone ^_^


And it's probably a cute party trick as well :D
Moderator
Katsuge
Profile Blog Joined October 2009
Singapore7730 Posts
June 19 2010 07:03 GMT
#6
interesting...

time to start using muh brainjuice
김태연 | 정은지 | 아이유 |  한효주 | 이민정 <3 -|||- 소녀시대 에이핑크 사랑해!
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
June 19 2010 07:25 GMT
#7
On June 18 2010 21:54 Thats_The_Spirit wrote:
Step 1

The first step is to make March the 1st month of the year. [...]

Step 2

[...]
  • April 4th
  • June 6th
  • August 8th
  • Oktober 10th
  • December 12th

See the pattern here? The 4th day of the 4th month, the 6th day of the 6th month, etc.


But I just made April the 2nd month!
If you have a good reason to disagree with the above, please tell me. Thank you.
Jizzlegasm
Profile Joined June 2010
Canada25 Posts
June 19 2010 15:30 GMT
#8
Nice algorithm. It would be a fun exercise to write a program that does this, although I'm positive that it's been done.
stet_tcl
Profile Blog Joined May 2008
Greece319 Posts
June 19 2010 15:57 GMT
#9
Wow I actually find this very useful.
Thanks for sharing this man!
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
June 19 2010 16:01 GMT
#10
On June 19 2010 16:00 Empyrean wrote:
Show nested quote +
On June 19 2010 15:42 Thats_The_Spirit wrote:
Hehe

Actually with a bit of practice you can beat a person with a laptop or smartphone ^_^


And it's probably a cute party trick as well :D

Hello ladies, I bet you $5 I can guess the day of the week on your next birthday~
But if I win...

:D
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Please log in or register to reply.
Live Events Refresh
The PiG Daily
21:00
Best Games of Starcraft
SHIN vs ByuN
Reynor vs Classic
TBD vs herO
Maru vs SHIN
TBD vs Classic
PiGStarcraft706
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft706
SpeCial 9
StarCraft: Brood War
Shuttle 116
Mong 16
NaDa 10
Dota 2
PGG 96
LuMiX1
Counter-Strike
Foxcn181
Other Games
Grubby6532
FrodaN1201
Liquid`Hasu232
C9.Mang0160
taco 110
B2W.Neo85
Liquid`Ken58
PPMD38
Trikslyr37
ZombieGrub33
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• RyuSc2 78
• Hupsaiya 73
• davetesta62
• musti20045 39
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota22282
• WagamamaTV1104
League of Legends
• Doublelift3976
Other Games
• imaqtpie1761
• Scarra764
Upcoming Events
CranKy Ducklings
10h 13m
WardiTV 2025
11h 13m
Spirit vs Cure
Reynor vs MaxPax
SHIN vs TBD
Solar vs herO
Classic vs TBD
SC Evo League
12h 43m
Ladder Legends
19h 13m
BSL 21
20h 13m
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
1d 10h
Ladder Legends
1d 17h
BSL 21
1d 20h
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
2 days
Wardi Open
2 days
[ Show More ]
Monday Night Weeklies
2 days
WardiTV Invitational
4 days
Replay Cast
5 days
WardiTV Invitational
5 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.