You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Datetimes. The bane of our existence as coders (or at least for me anyway!).
4
+
5
+
This set of lessons will walk you through the basics of datetime, starting with datetime and date then moving onto timedelta.
6
+
7
+
8
+
## Day N: Learn the basics of datetime and date
9
+
10
+
A super basic day to get you started. Watch *Learning datetime and date* and *Calculating time with datetime timedelta*.
11
+
12
+
After watching the videos, use your Python shell to play around with some timestamp calculations as per the content in the videos.
13
+
14
+
15
+
## Day N+1: Bites of Py Bite 7 - Parsing dates from logs
16
+
17
+
Head on over to [CodeChalleng.es](https://codechalleng.es) and sign up if you haven't already.
18
+
19
+
Use the following URL to unlock Bite 7 for free:
20
+
21
+
Work on *Bite 7 - Parsing dates from logs* as your second day of learning datetime.
22
+
23
+
24
+
## Day N+2: Your Turn!
25
+
26
+
You've got the basics down so now create something for yourself!
27
+
28
+
A fun project would be to create yourself a Pomodoro Timer that incorporates datetime rather than just the time module. Have it display timestamps.
29
+
30
+
This could also be applied to a stopwatch app. Use time of course but also throw in the timestamps and even some basic calculations on the difference between the start and end timestamps.
31
+
32
+
33
+
### Time to share what you've accomplished!
34
+
35
+
Be sure to share your last couple of days work on Twitter or Facebook. Use the hashtag **#100DaysOfCode**.
36
+
37
+
Here are [some examples](https://twitter.com/search?q=%23100DaysOfCode) to inspire you. Consider including [@talkpython](https://twitter.com/talkpython) and [@pybites](https://twitter.com/pybites) in your tweets.
38
+
39
+
*See a mistake in these instructions? Please [submit a new issue](https://github.com/talkpython/100daysofcode-with-python-course/issues) or fix it and [submit a PR](https://github.com/talkpython/100daysofcode-with-python-course/pulls).*
0 commit comments