from datetime import datetime # datetime object containing current date and time now = datetime.now() print("now =", now)