• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:02
CEST 16:02
KST 23:02
  • 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
Team Liquid Map Contest #21 - Presented by Monster Energy5uThermal's 2v2 Tour: $15,000 Main Event14Serral wins EWC 202549Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580
Community News
Weekly Cups (Aug 4-10): MaxPax wins a triple5SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6LiuLi Cup - August 2025 Tournaments5[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder10
StarCraft 2
General
#1: Maru - Greatest Players of All Time RSL Revival patreon money discussion thread Team Liquid Map Contest #21 - Presented by Monster Energy Lambo Talks: The Future of SC2 and more... uThermal's 2v2 Tour: $15,000 Main Event
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL: Revival, a new crowdfunded tournament series SEL Masters #5 - Korea vs Russia (SC Evo) Enki Epic Series #5 - TaeJa vs Classic (SC Evo) ByuN vs TaeJa Bo7 SC Evo Showmatch
Strategy
Custom Maps
External Content
Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull Mutation #239 Bad Weather
Brood War
General
New season has just come in ladder Google Play ASL (Season 20) Announced ASL20 Pre-season Tier List ranking! BW General Discussion BSL Polish World Championship 2025 20-21 September
Tourneys
KCM 2025 Season 3 Small VOD Thread 2.0 [Megathread] Daily Proleagues [ASL20] Online Qualifiers Day 2
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Stormgate/Frost Giant Megathread Total Annihilation Server - TAForever Nintendo Switch Thread Beyond All Reason [MMORPG] Tree of Savior (Successor of Ragnarok)
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread The Games Industry And ATVI Bitcoin discussion thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread [\m/] Heavy Metal Thread [Manga] One Piece Movie Discussion! Korean Music Discussion
Sports
2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
Gaming After Dark: Poor Slee…
TrAiDoS
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 575 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
16987 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
WardiTV Summer Champion…
11:00
Group Stage 1 - Group B
WardiTV1236
TKL 208
IndyStarCraft 165
Rex136
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 276
TKL 208
IndyStarCraft 165
Hui .158
Rex 136
ProTech83
mcanning 53
SC2_NightMare 5
StarCraft: Brood War
Britney 41193
Rain 13195
Bisu 2992
Jaedong 1395
EffOrt 1002
Shuttle 958
Larva 793
firebathero 723
BeSt 548
Mini 440
[ Show more ]
ZerO 416
Snow 414
ggaemo 241
Hyun 155
Soma 148
Rush 131
Last 123
Pusan 73
Sharp 59
Soulkey 53
Aegong 49
ToSsGirL 47
Sexy 41
sorry 41
Backho 38
TY 37
soO 35
sSak 30
yabsab 28
JulyZerg 25
Free 24
sas.Sziky 21
HiyA 16
Terrorterran 15
scan(afreeca) 14
IntoTheRainbow 13
ajuk12(nOOB) 13
SilentControl 11
Hm[arnc] 7
zelot 6
Shine 5
Zeus 0
Stormgate
Codebar42
Dota 2
Gorgc8444
qojqva2398
XcaliburYe315
Counter-Strike
ScreaM1237
flusha342
kRYSTAL_60
Super Smash Bros
Mew2King93
Other Games
FrodaN2797
singsing2449
B2W.Neo1220
hiko887
DeMusliM574
crisheroes419
XaKoH 249
Fuzer 182
Beastyqt115
SortOf99
KnowMe95
ArmadaUGS36
rGuardiaN28
ZerO(Twitch)16
ViBE14
RotterdaM8
Organizations
StarCraft: Brood War
UltimateBattle 15
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• StrangeGG 57
• davetesta14
• Kozan
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Azhi_Dahaki11
• Michael_bg 3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2576
• WagamamaTV370
League of Legends
• Nemesis2880
• Jankos1032
Upcoming Events
The PondCast
19h 58m
WardiTV Summer Champion…
20h 58m
Replay Cast
1d 9h
LiuLi Cup
1d 20h
Online Event
2 days
SC Evo League
2 days
uThermal 2v2 Circuit
3 days
CSO Contender
3 days
Sparkling Tuna Cup
3 days
WardiTV Summer Champion…
3 days
[ Show More ]
SC Evo League
3 days
uThermal 2v2 Circuit
4 days
Afreeca Starleague
4 days
Sharp vs Ample
Larva vs Stork
Wardi Open
4 days
RotterdaM Event
5 days
Replay Cast
5 days
Replay Cast
5 days
Afreeca Starleague
5 days
JyJ vs TY
Bisu vs Speed
WardiTV Summer Champion…
5 days
Afreeca Starleague
6 days
Mini vs TBD
Soma vs sSak
WardiTV Summer Champion…
6 days
Liquipedia Results

Completed

StarCon 2025 Philadelphia
FEL Cracow 2025
CC Div. A S7

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
WardiTV Summer 2025
uThermal 2v2 Main Event
HCC Europe
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL Season 18: Qualifier 1
ASL Season 20
CSLAN 3
CSL 2025 AUTUMN (S18)
BSL Season 21
BSL 21 Team A
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
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.