Dates are a nightmare even before you start accounting for public holidays. There’s a whole bunch of calendar and Timezone changes, and valid dates and times that simply don’t exist. Early in my career I had a bug that involved some date in February 1923 not occurring in Greece. I think I eventually fixed it, but I was never 100% sure.