Converts hours to years.
HOURS2YEARS(hours)
hours |
- |
A scalar or series, the hours values. |
A series or array of year values.
hours2years(3)
Returns 0.000342, the number of years in 3 hours.
years2hours(hours2years(3))
Returns 3.0 hours showing YEARS2HOURS and HOURS2YEARS are inverse functions.
W1: 0..1752..8760
W2: hours2years(w1)
W3: years2hours(w2)
W1 contains the hours series {0, 1752, 3504, 5256, 7008, 8760}.
W2 contains the years series {0, 0.2, 0.4, 0.6, 0.8, 1.0}.
W3 recovers the original hours series.
HOURS2YEARS converts an hour value or series to years.
HOURS2YEARS assumes that a leap year can occur four years after the first full year.
See YEARS2HOURS to convert years to hours.