Why is Programming with Dates So Hard?

How to think about dates and timestamps, timezones, and offsets

Dave Taubler
Level Up Coding
Published in
17 min readSep 14, 2021

--

Photo by noor Younis on Unsplash

Phil Karlton famously said that the two hardest things in programming are cache invalidation, and naming things. I’d add dates and times to that list. For something so seemingly simple and intuitive to humans, the interaction of dates & times, and timestamps & timezones, has proven deceptively…

--

--