this post was submitted on 20 Jul 2024
826 points (99.4% liked)
memes
10205 readers
2558 users here now
Community rules
1. Be civil
No trolling, bigotry or other insulting / annoying behaviour
2. No politics
This is non-politics community. For political memes please go to !politicalmemes@lemmy.world
3. No recent reposts
Check for reposts when posting a meme, you can only repost after 1 month
4. No bots
No bots without the express approval of the mods or the admins
5. No Spam/Ads
No advertisements or spam. This is an instance rule and the only way to live.
Sister communities
- !tenforward@lemmy.world : Star Trek memes, chat and shitposts
- !lemmyshitpost@lemmy.world : Lemmy Shitposts, anything and everything goes.
- !linuxmemes@lemmy.world : Linux themed memes
- !comicstrips@lemmy.world : for those who love comic stories.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yep, my immediate thought was, how the hell would you know it works?
That program better be using an existing date library, because otherwise it's most definitely wrong.
public string GetDayOfWeek(DateTime date) => "saturday";
I also calculated it, his result checks out.
Don't be ridiculous, that would never pass QA.
But this one will. Joy for years to come:
Bro probably to account for leap Thursday's. We have one every ~28k years to keep in alignment with the true solar week.
Took me longer than it should have to realise this was a joke.