Datetime shenanigans
Dates are a common source of frustration for programmers and historians. Dates can be missing, incorrect, use inconsistent formats, and they cause lots of bugs.
These entries describe some of the “fun” things I’ve learnt about handling dates.
1 article
Showing human-friendly dates in JavaScript
What’s a nicer way to show a date than an ISO 8601 timestamp?
2 notes
Remove the microsecond precision from a
datetimein PythonCall
datetime.replace(microsecond=0).There’s a musical that tells you the number of minutes in a year
The song Seasons of Love from Rent starts with the line “Five hundred twenty-five thousand, six hundred minutes”.