(
    date_: date
)
return datetime(date_.year, date_.month, date_.day)
Returns the start of the day

    >>> jan_1 = date(2000, 1, 1)
    >>> new_year = midnight_starting(jan_1)
    >>> new_year.isoformat()
    '2000-01-01T00:00:00'
Returns the start of the day
Returns the start of the day
def midnight_starting(
    date_: date
) -> datetime:
    """
    Returns the start of the day

    >>> jan_1 = date(2000, 1, 1)
    >>> new_year = midnight_starting(jan_1)
    >>> new_year.isoformat()
    '2000-01-01T00:00:00'

    """
    return datetime(date_.year, date_.month, date_.day)
def midnight_starting ( date_ : date ) -> datetime : return datetime ( date_ . year , date_ . month , date_ . day )