updating time output to handle hours, mins, secs < 10.