how to print date of datetime value python code example Example: python print datetime import datetime print("Now:", datetime.datetime.now())