Added dateStrToObj()