## The library `datetime` has all the functions you'll probably need. One gotcha with it, though: it has a `datetime` class that is the same name as the module, so you'll either have to be doing `datetime.datetime.x()` or you'll need to `import datetime from datetime`. ## Get today's date ```python import datetime today = datetime.datetime.now() ``` ## Set date format ```python dateFormatted = today.strftime('%B %d, %Y') print(dateFormatted) ``` ## Convert string to datetime `datetime.datetime.strptime(string,format)` Converts a string into a datetime object. `highlighted_at = datetime.datetime.strptime(highlighted_at, "%Y-%m-%dT%H:%M:%SZ")` ## Adding and subtracting to time `highlighted_at = highlighted_at + datetime.timedelta(hours=10)` Note that the above only works for `import datetime` because `timedelta` is a class of the _module_ `datetime`. ## Convert datetime back to string `datetime.strftime(format)` `highlighted_at = highlighted_at.strftime("%Y-%m-%dT%H:%M:%SZ")`