Convert date before 1900 into string