Parse date strings into time structs

Closes #2