A string indicating the unit which the data is converted from.
to.unit
A string indicating the unit which the data is converted to.
Value
A list with the following structure:
x
Data
converted
A boolean indicating whether conversion is made
Details
The supported units are "ns"(nanosecond), "ms"(millisecond), "sec", "min", "hour", "day", "month", and "year".
Make sure from.unit and to.unit are not NULL before it is passed to this function.