convert date digital to string