Check if this is before than date (without reference to Time)
this
date
bool isDateBefore(DateTime date) => getDateOnly().isBefore(date.getDateOnly());