Initial date parsing and validation