Sunday -the Sun; Monday - the moon; Tuesday - after Tyr, the Nordic equivalent of Mars; Wednesday - after Odin, the Norse equivalent of Jupiter; Thursday, Friday - more Norse deities; Saturday - after Saturn. So the days of the week follow the order of the Solar System.
Ah yes, the European calendar is a mish-mash of Roman Caesars names and some numbers (Sept, Octo, Nov, Dec), Roman dieties that they stole from Greece, and Norse deities that Christianity screwed with to try to explain.
0 based arrays are weird. We count starting with 1. Not zero.
But you're right about the week. It should start on Monday. There should also be 10 months in a year so that SEPTember is 7, OCTober, is 8, etc. But, we deal with it.
The French Revolutionaries had a metric calendar that they used up until Napoleon abolished it.
They also introduced a decimal clock, but that was much shorter-lived.
In the business world you will sometimes see Workweek date formats, like today is 2025-W11-1 in the ISO 8601 format. The ISO format has Monday as 1 through Sunday as 7, but others will count Sunday as 0 so you can overlay it on a Sunday-Saturday calendar.
Numbered workweeks are very common for industrial applications, so that you never have a year end mid-week, for instance. Workweek 1 of this year started on Monday December 30th. I agree the month spelled out helps remove ambiguity, but I've never seen anyone use YYYY-DD-MM, having it numeric allows for simple machine-sorting, and it also works outside of English-speaking areas.
FranticRed
I've always found starting at 0 to be weird. It's the 1st cell, not the 0th.
Hekatombe
Maybe. But it makes sense in low level languages where you have a base address and then you use an offset to address into that array.
FranticRed
Oh, I agree they have reasons for doing it. I just don't like it. :)
Voojagig
Starting a week on any day is just as weird as any other day because weeks are made up.
GoodGuyGonzo
Good ol' off-by-one error
DonkeyGoat
Our weeks start on Saturday where I work, but our vacations are Monday- Saturday.
DrStrangeloveHandle
Not really, it means Saturday is one end of the week, and Sunday the other end. Weekend! (This is my weird hill to die on btw).
doyouthinktheysawus
Boooo, sat/sun is the weekEND
wolfenstien98
The weekend isn't the end of the week, it's the ends of the week
EllisTomago
Sunday -the Sun; Monday - the moon; Tuesday - after Tyr, the Nordic equivalent of Mars; Wednesday - after Odin, the Norse equivalent of Jupiter; Thursday, Friday - more Norse deities; Saturday - after Saturn. So the days of the week follow the order of the Solar System.
Kyrorayne
Ah yes, the European calendar is a mish-mash of Roman Caesars names and some numbers (Sept, Octo, Nov, Dec), Roman dieties that they stole from Greece, and Norse deities that Christianity screwed with to try to explain.
laner7112000
alcamar
Hekatombe
laner7112000
RetrogradeLlama
0 based arrays are weird. We count starting with 1. Not zero.
But you're right about the week. It should start on Monday. There should also be 10 months in a year so that SEPTember is 7, OCTober, is 8, etc. But, we deal with it.
AllGloryToTheDarkLord
We start zero. How many gold coins are in your hand right now?. Start counting.
UNHchabo
The French Revolutionaries had a metric calendar that they used up until Napoleon abolished it.
They also introduced a decimal clock, but that was much shorter-lived.
In the business world you will sometimes see Workweek date formats, like today is 2025-W11-1 in the ISO 8601 format. The ISO format has Monday as 1 through Sunday as 7, but others will count Sunday as 0 so you can overlay it on a Sunday-Saturday calendar.
RetrogradeLlama
I've never see anyone use that format. I do prefer 2024-Mar-10 as a date format as there's no international ambiguity.
UNHchabo
Numbered workweeks are very common for industrial applications, so that you never have a year end mid-week, for instance. Workweek 1 of this year started on Monday December 30th.
I agree the month spelled out helps remove ambiguity, but I've never seen anyone use YYYY-DD-MM, having it numeric allows for simple machine-sorting, and it also works outside of English-speaking areas.
Hekatombe
Could be worse
SterlingArcherSecretAgent
Begone you demon, bringer of evil!
Hekatombe
You know what's worse? In this context (IEC 61131-3) an INT is 16 bits...
SterlingArcherSecretAgent
I wouldn't call that worse
GenshiV
...bruv. It would have cost you nothing to not do that.
Hekatombe
GenshiV
...I take it all back. That's beautiful.
Eyhlix
Lmao. The end is gold.