from datetime import datetime


def same_date(date1: datetime, date2: datetime) -> bool:
    """Check whether two given datetime object are in the same date"""

    return date1.day == date2.day and date1.month == date2.month and date1.year == date2.year