Revert accidental change to getStringValue
Attempt to implement getDateValue correctly