Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Time and frequency from dates

```
[TFactors,F]
= date2time(Settle,Maturity)
```

```
[TFactors,F]
= date2time(___,Compounding,Basis,EndMonthRule)
```

`[`

computes
time factors appropriate to compounded rate quotes between the `TFactors`

,`F`

]
= date2time(___,`Compounding`

,`Basis`

,`EndMonthRule`

)`Settle`

and `Maturity`

dates
using optional input arguments for `Compounding`

, `Basis`

,
and `EndMonthRule`

. `date2time`

is
the inverse of `time2date`

.

Was this topic helpful?