setting date fields so that birthday can't be after today, and due date for tasks can't be before today