Start implementing the date parsing code