<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_datetime(date):
 """Turn a date into a datetime at midnight. """

    return datetime.datetime.combine(date, datetime.datetime.min.time())