Checks to see if the supplied date is before the current day