from datetime import datetime


def date2datetime(date):
    """Convert a date to a datetime object.

    Args:
        date: date to be converted (double check type and use).

    Returns:
        date converted to object of type datetime.

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