I love time/date problems. One of the best references on the subject of calendars is "Standard C Date/Time Library: Programming the World's Calendars and Clocks" by Lance Latham. He really goes into a lot of detail on various calendaring systems, some really cooky, https://amzn.to/4hjv5L3
BTW. A long, informative post without a single mention of AI. A rare thing these days.
BTW. A long, informative post without a single mention of AI. A rare thing these days.