Hacker News new | ask | show | jobs
by blululu 383 days ago
This is really nice. My initial thought was "why just divide the time interval since the Unix Epoch by the synodic period of the moon". Turns out the moon's phase is a bit more complicated than that. https://en.wikipedia.org/wiki/Lunar_phase#Calculating_phase
1 comments

That said, this is basically what the Hebrew calendar does (although of course they use a much earlier epoch)