
[;1m  convert_time_unit(Time, FromUnit, ToUnit)[0m

[;;4mSince[0m:
  OTP 18.0

  Converts the [;;4mTime[0m value of time unit [;;4mFromUnit[0m to the
  corresponding [;;4mConvertedTime[0m value of time unit [;;4mToUnit[0m. The
  result is rounded using the [;;4mfloor/1[0m function.

  [;;4mWarning[0m

    You can lose accuracy and precision when converting between
    time units. To minimize such loss, collect all data at [;;4mnative[0m
    time unit and do the conversion on the end result.
