Main Content

Time and frequency from dates

`[`

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`

.

`cftimes`

| `datetime`

| `time2date`

| `yearfrac`

| `disc2rate`

(Financial Instruments Toolbox) | `rate2disc`

(Financial Instruments Toolbox)