add time to the string