Partly implemented strptime()