Started adding function to parse date from string