You're viewing a single thread.
billwashere @lemmy.world Well if the 1st is on Sunday then every month would have a Friday 13th.
47 0 ReplyPotatos_are_not_friends @lemmy.world This is Jason Voorhees propaganda
19 0 Replybillwashere @lemmy.world ki ki ki, ma ma ma
3 0 Replythemeatbridge @lemmy.world tch tch tch tch tch, ah ah ah ah ah
2 0 Reply
rmuk @feddit.uk
Did you know that the 13th day of the month is more likely to be a Friday than any of the other weekdays?
8 0 Replybillwashere @lemmy.world I'm a nerd so I had to write code to check this out.
So from 1/1/1500 until 12/31/2023:
Weekday counts: Monday: 898 Tuesday: 897 Wednesday: 901 Thursday: 896 Friday: 901 Saturday: 896 Sunday: 899
No idea why, and other than a tie with Wednesday, this is indeed true. Well if my code is correct.
16 0 Replyspuncertv @iusearchlinux.fyi Depends on the year you start, it is thrown off by leap years.
3 0 ReplyMakeitstop @lemmy.world For most proposals like this, new years day and leap day wouldn't have a day of the week. And therefore the calendar wouldn't change from year to year.
1 0 Replyspuncertv @iusearchlinux.fyi I was just talking about why there have been more fridays the 13ths since 1500.
1 0 Reply
uis @lemmy.world
until 12/31/2023:
My eyes see mixed-endian! I want them to unsee it!
Decide already whether you want 2023.12.31 or 31.12.2023.
2 0 Replyrmuk @feddit.uk
I think your code is fine. The Gregorian Calendar actually runs on a 400-year cycle (i.e. the pattern caused by 7-day weeks, variable-length months and leap years repeats every 400 years) so if you re-ran the code against a 400-year period you'd get the correct ratios.
1 0 Reply
at_an_angle @lemmy.one
My favorite day. 🖤
3 0 Reply