Converts days to years.
DAYS2YEARS(days)
days |
- |
A scalar or series, the days values. |
A series or array of year values.
days2years(3)
Returns 0.008219, the number of years in three days.
years2days(days2years(3))
Returns 3.0 days showing YEARS2DAYS and DAYS2YEARS are inverse functions.
W1: 0..73..365
W2: days2years(w1)
W3: years2days(w2)
W1 contains the days series {0, 73, 146, 219, 292, 365}.
W2 contains the years series {0, 0.2, 0.4, 0.6, 0.8, 1.0}.
W3 recovers the original days series.
DAYS2YEARS converts an hour value or series to years.
DAYS2YEARS assumes that a leap year can occur four years after the first full year.
See YEARS2DAYS to convert a years value or series to days.