Implemented date parsing.
Closes #5