Compares only day, month and year of DateTime.
bool compareWithoutTime(DateTime date) { return day == date.day && month == date.month && year == date.year; }