Chech if this is the same date then other (without reference to Time)
this
other
bool isSameDay(DateTime date) => day == date.day && month == date.month && year == date.year;