Dates and Times in Python
Treehouse
Course Summary
Dates and times are something every programmer eventually has to deal with. Python's implementation is fairly simple and simplifies these often tricky subjects.
-
+
Course Description
About this Course Dates and times are something every programmer eventually has to deal with. Python's implementation is fairly simple and simplifies these often tricky subjects. What you'll learn
- Dates and times
- Timezones
- Converting between timezones
About the Teacher
Besides teaching Python at Treehouse, Kenneth Love is a husband & father. He created a few popular Python libraries, worked at most levels of the web stack, & was the Creative Director of a newspaper. He likes board games, whiskey, activism, & dry humor.
-
+
Course Syllabus
Dates and Times
Let's look at the datetime library and its datetime class. We'll also see how to manipulate these objects, turn them into strings, and more. 11 steps- Manipulating Time Already 6:50
- now() and .replace() 4 objectives
- Time Deltas 4:39
- Timedeltas 4 questions
- Far Away 1 objective
- Today and Tomorrow 4:06
- Timedelta Minute 1 objective
- Dating Methods 7:28
- strftime & strptime 2 objectives
- Wikipedia Links 4:35
- Time Tango 1 objective
Let's Build a Timed Quiz App
To make sure we understand datetimes and timedeltas, let's build a small app that'll time us answering math questions. 6 stepsWhere on Earth do Timezones Make Sense?
Timezones are often an amazingly confusing part of programming. Let's make them simpler using datetime and the pytz library. 8 steps
This course is listed under
Open Source
, Development & Implementations
, Data & Information Management
, IT Strategy & Management
, Operating Systems
and Project & Service Management
Community
Related Posts: