added the dateconverter class