Unit Conversion and Time Calculation