import datetime date_and_time = datetime.datetime(2019, 12, 30) date = date_and_time.date() print(date)