Added new function

Implemented parseDateTime