Skip to Content
Learn
Date and Time
The datetime Library

A lot of times you want to keep track of when something happened. We can do so in Python using datetime.

Here we’ll use datetime to print the date and time in a nice format.

Instructions

1.

Click Run to continue.

Folder Icon

Take this course for free

Already have an account?