Skip to content

Commit

Permalink
Datetime exercises
Browse files Browse the repository at this point in the history
  • Loading branch information
estebansolo committed Aug 19, 2020
1 parent f05178e commit 660fdcf
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion exercises/21_datetime.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
"""
Convert the following string dates to datetime format:
December 1th, 2015 15:30
5 June 2018 5pm
2020/9/13 00:05:06
"""

"""
Using the operations between dates, find out what is the difference
in days, months and years from January 1, 2000 to today
"""

"""
Try some of the differences between datetime and dateutil.
For example:
relativedelta
parser.parse
"""

"""
Get all the dates from the Monday of the current month, you can use for
loop and operations between dates
"""
"""

0 comments on commit 660fdcf

Please sign in to comment.