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

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 simple), 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, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the online Day of the Week of a Date script for offline use, for you, your company or association, see you on contact page !

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

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

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