years (Tablicious v0.4.7)
Description: User manual for Tablicious for Octave.

#### 8.2.70 years ¶

Function File: `out =` years `(x)` ¶

  Create a `duration` x years long, or get the years in a `duration` x.

  If input is numeric, returns a `duration` array in units of fixed-length years of 365.2425 days each.

  If input is a `duration`, converts the `duration` to a number of fixed-length years as double.

  Note: `years` creates fixed-length years, which may not be what you want. To create a duration of calendar years (which account for actual leap days), use `calyears`.

  See calyears.