Check the date is valid or use today.