format time less than 10 to a two digit string