Python `datetime`: Essential Date, Time, and Time Zone Handling
Learn how to accurately manage, format, and calculate temporal data using the standard `datetime` library, ensuring your applications handle time zones correctly.
-
๐ฌ
AI instructor
Ask about any lesson and get a clear answer instantly, anytime. -
๐
Start anytime
No schedules or deadlines โ learn at your own pace, whenever suits you. -
๐
In English
Lessons, tasks and certificate โ all fully in your language.
About this course
Temporal data is fundamental to almost every application, but handling dates, times, and time zones correctly can be surprisingly complex. This course provides a solid foundation for managing time-based information reliably in Python.
By the end of this course, you will be proficient in using Python's built-in `datetime` module and related libraries to create, manipulate, compare, and display temporal data. You will gain the skills necessary to implement scheduling logic, calculate time differences, and confidently manage time zone conversions for global applications.
What you'll learn:
* Understand the core concepts of date, time, and duration using `date`, `time`, and `timedelta` objects.
* Master string parsing and formatting using `strftime` and `strptime` for input and output operations.
* Apply best practices for handling time zones using aware and naive `datetime` objects and the modern `zoneinfo` library.
* Calculate precise differences between moments in time and implement basic scheduling logic.
* Practice converting between local time and Coordinated Universal Time (UTC) accurately.
* Configure robust methods for parsing standard formats like ISO 8601 strings.
The course begins by defining the foundational objects in the `datetime` module, progresses through practical manipulation techniques, and concludes with essential coverage of time zones and daylight saving time considerations. Learners practice concepts through written examples and exercises.
This course is designed for beginner Python developers who need to integrate temporal data management into their programs. No prior knowledge of the `datetime` module is required.
Start learning how to handle time correctly today.
What you'll get
-
๐
Certificate of completion
Add it to your LinkedIn profile -
๐ฌ
Personal AI tutor
Stuck on a lesson? Ask your built-in tutor anything, any time. -
๐ง
Audio version included
Learn on the go โ no screen needed -
โพ๏ธ
Lifetime access
Come back anytime, no expiry -
๐ฑ
Phone or computer
Works anywhere, any device -
๐ธ
14-day refund
No questions asked -
โก
Short & focused
2h 42m of practical content
Reviews
No reviews yet โ be the first to share your experience.
Frequently asked
What do I need to take this course? +
Just a phone or computer with internet. No installs, no special hardware.
How do I pay? +
By card via Stripe. We donโt store card details โ Stripe handles them securely.
Can I get a refund? +
Yes โ full refund within 14 days, no questions asked.
How long will I have access? +
Forever. Once you purchase, the course is yours to revisit anytime.
Will I get a certificate? +
Yes. On completion you'll receive a certificate you can add to your LinkedIn profile.
Built for learners in
Tech
Design
Finance
Marketing
Healthcare
Education
Hospitality
Manufacturing