Parsing date and time specifications