Convert the right time to a string