The day corresponds to 01/01/0001
Solved
haylox
Posted messages
169
Status
Member
-
haylox Posted messages 169 Status Member -
haylox Posted messages 169 Status Member -
Hello,
I've looked everywhere but I couldn't find the day corresponding to the date 01/01/0001. I need it to write a program that gives the day corresponding to any given date. If anyone knows the name of this day, please let me know.
I've looked everywhere but I couldn't find the day corresponding to the date 01/01/0001. I need it to write a program that gives the day corresponding to any given date. If anyone knows the name of this day, please let me know.
1 answer
-
Hello
The 1/1/1 never existed, our calendar does not apply before the creation of the Gregorian calendar.
But if you want to try your program, you just have to assume that it's a Monday, calculate what day of the week today is, and adjust your hypothesis accordingly.
You know there are built-in functions for that in all programming languages, right?