python dateoject now code example Example: python current date from datetime import date today = date.today() print("Today's date:", today)