Is there a built-in method for converting a date to a datetime in Python, for example getting the datetime for the midnight of the giv
date
datetime
If you need something quick, datetime_object.date() gives you a date of a datetime object.
datetime_object.date()