Learn more than the basics about the date, time, and timezone in Python

Let’s become a time master in Python

Lynn G. Kwong
5 min readAug 13, 2021

--

All Python developers should have some knowledge about how to deal with the date and time in Python. I assume everybody has already used time.sleep() and datetime.now() in their code. However, sometimes you might come across special cases which are beyond your knowledge and you have to turn to Google every time to find the best solution for you, which can be a time-consuming process sometimes. This article goes through some of the most frequently…

--

--

Lynn G. Kwong

I’m a Software Developer (https://medium.com/@lynn-kwong) keen on sharing thoughts, tutorials, and solutions for the best practice of software development.