zerosleeps

Since 2010

datetime

Monday 6 July 2020

I’ve never been a huge fan of the datetime module in Python, but listening to one of the core developers of Python on “Talk Python” episode 271 has changed that.

I’d encourage anyone who stores dates and times in a database to listen to this. The guy does a really good job of explaining when we should use naive datetimes, aware datetimes, and why simply using UTC and converting as needed isn’t always the right choice.

I love this stuff.