Update the log time to string