Using Python datetime to Work With Dates and Times Quiz
Interactive Quiz ⋅ 13 Questions
By Joseph Peart
In this quiz, you’ll test your understanding of Using Python datetime to Work With Dates and Times.
By working through this quiz, you’ll revisit why dates and times are tricky to handle
in code, how computers count time, and how to create, parse, and compare datetime
instances. You’ll also practice adding time zones with dateutil and doing arithmetic
with timedelta and relativedelta.
The quiz contains 13 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!
Related Resources
Course
Using Python's datetime Module
Have you ever wondered about working with dates and times in Python? In this video course, you'll learn all about the built-in Python datetime library. You'll also learn about how to manage time zones and daylight saving time, and how to do accurate arithmetic on dates and times.
Tutorial
Using Python datetime to Work With Dates and Times
Have you ever wondered about working with dates and times in Python? In this tutorial, you'll learn all about the built-in Python datetime library. You'll also learn about how to manage time zones and daylight saving time, and how to do accurate arithmetic on dates and times.