Chapter 27: Working with Dates and Time Python's datetime module allows you to work with dates and times. Example Python1 2 3 4from datetime import datetime now = datetime.now() print(now) # Outputs the current date and time