Conversion of fractions to time units