Simple play icon Course
Skills Expanded

Working with Dates and Times in Python

by Georgy Pashkov

Almost every application works with date and time, yet time is complicated, counter-intuitive, and is often a source of bugs. This course will teach you to effectively handle date and time using Python.

What you'll learn

Date and time is so much more than a data type. Almost every application works with dates or time in some way. It's safe to say that every sufficiently large application contains bugs related to incorrect handling of date and time. In this course, Working with Dates and Times in Python, you'll learn how to deal with date and time in your Python programs. First, you'll discover hardware clocks and key Python modules that work with time, dates, and calendars. Next, you'll explore the real world of time zones, daylight saving time, calendars, and locales. Finally, you'll learn how to deal with recurring time stamps, how to properly store date and time in a database, how to configure Django for proper handling of time zones, and more. When you're finished with this course, you'll have a solid understanding of how date and time should be handled in Python that will greatly increase your value as a developer.

About the author

Georgy is a senior software engineer at a leading provider of Supply Chain Planning software. He mostly programs using C++ and Python, and occasionally drops a line or two in other languages. He is passionate about creating quality, reliable software. Georgy was raised in Karelia, Russia. He earned his specialist degree in CS at Petrozavodsk State University, and moved to Belgium shortly after graduation. With many years of experience in software development, he decided to share some of his skil... more

Ready to upskill? Get started