First Day Of Week.

Mar 10, 2025 5:05 PM

typeof

Views

1034

Likes

22

Dislikes

18

humor

programmerhumor

lol

funny

programmer_jokes

I've always found starting at 0 to be weird. It's the 1st cell, not the 0th.

5 months ago | Likes 15 Dislikes 2

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.

5 months ago | Likes 8 Dislikes 2

Oh, I agree they have reasons for doing it. I just don't like it. :)

5 months ago | Likes 3 Dislikes 0

Starting a week on any day is just as weird as any other day because weeks are made up.

5 months ago | Likes 5 Dislikes 2

Good ol' off-by-one error

5 months ago | Likes 1 Dislikes 0

Our weeks start on Saturday where I work, but our vacations are Monday- Saturday.

5 months ago | Likes 3 Dislikes 1

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).

5 months ago | Likes 2 Dislikes 1

Boooo, sat/sun is the weekEND

5 months ago | Likes 2 Dislikes 0

The weekend isn't the end of the week, it's the ends of the week

5 months ago | Likes 1 Dislikes 4

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.

5 months ago | Likes 2 Dislikes 2

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.

5 months ago | Likes 1 Dislikes 0

5 months ago | Likes 10 Dislikes 2

5 months ago | Likes 9 Dislikes 2

5 months ago | Likes 3 Dislikes 3

5 months ago | Likes 3 Dislikes 1

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.

5 months ago | Likes 5 Dislikes 2

We start zero. How many gold coins are in your hand right now?. Start counting.

5 months ago | Likes 3 Dislikes 1

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.

5 months ago | Likes 1 Dislikes 0

I've never see anyone use that format. I do prefer 2024-Mar-10 as a date format as there's no international ambiguity.

5 months ago | Likes 1 Dislikes 0

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.

5 months ago | Likes 1 Dislikes 0

Could be worse

5 months ago | Likes 11 Dislikes 0

Begone you demon, bringer of evil!

5 months ago | Likes 2 Dislikes 0

You know what's worse? In this context (IEC 61131-3) an INT is 16 bits...

5 months ago | Likes 1 Dislikes 0

I wouldn't call that worse

5 months ago | Likes 2 Dislikes 0

...bruv. It would have cost you nothing to not do that.

5 months ago | Likes 8 Dislikes 0

5 months ago | Likes 4 Dislikes 0

...I take it all back. That's beautiful.

5 months ago | Likes 3 Dislikes 0

Lmao. The end is gold.

5 months ago | Likes 2 Dislikes 0