Tool to find the day of the week of a given date. Each date corresponds to a day of the week on a given calendar. There is an algorithm to calculate the day of the week of a date.

Day of the Week of a Date - dCode

Tag(s) : Date and Time, Fun/Miscellaneous

dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day!

You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? *Contact-me*!

Sponsored ads

Tool to find the day of the week of a given date. Each date corresponds to a day of the week on a given calendar. There is an algorithm to calculate the day of the week of a date.

Calculation needs a date (day, month, year) in the Gregorian Calendar (or Julian before 1582) and some mathematics formula.

There are algorithms that allow a mental calculation (not necessarily easy), but they become false for dates before 1900.

Example: The first january 2000 was a Saturday.

Overall, it is highly probable that before 1900 the days of the week were not perfectly managed in all regions. The Gregorian calendar was not as widespread in Europe, and globally, the values proposed by dCode before 1900 are mathematically correct, but may have shifts with the practices of the time that were not rigorous...

There are two differences, the first difference is about the calculus of leap years and the second one, which is a consequence, the Gregorian Calendar had a jump of several days in 1582.

In France, the day after December 9, 1582, was December 20, 1582.

In Europe, the day after Thursday 4 October was Friday 15 October 1582 (this version is used on dCode).

dCode retains ownership of the source code of the script Day of the Week of a Date online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. To download the online Day of the Week of a Date script for offline use on PC, iPhone or Android, ask for price quote on contact page !

day,week,weekday,find,date,birthdate,year,calendar,monday,tuesday,wednesday,thursday,friday,saturday,sunday

Source : https://www.dcode.fr/day-week-date

© 2018 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaches. dCode

Feedback