Checking the date format on the script prompts.