Added parsing of date strings