Added additional error handling for --starting date format.