Implement strptime

Hi Alon,

did the changes you requested. Had to create an entirely new pull request to get rid of the polluting commits on my side.

Cheers,
Soeren