another attempt to convert date to string