On invalid date format, return the current datetime