Comment

Comment by kepeko

It's cool. Here a little different way to calculate. Day number + month number + year number, modulo 7 => weekday number. Year number this year is 3, goes +1 every year, +2 in leap year. Month numbers if not leap year: 033614625035. Day number is ordinary day of the month. 24th Dec 2026 would be: 24 + 5 + 3 = 32. 32 mod 7 is 4 (Thursday)
parent kepeko 2 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton