Why dates are hard

Type this in terminal:

cal

And now type:

cal 9 1752

This illustrates some of the weirdness that you need to consider when working with dates.
https://www.historic-uk.com/HistoryUK/HistoryofBritain/Give-us-our-eleven-days/