Home   >   User Resources   >   Online Help   >   apaTimePoints.FromDates
 

 

Function index Version 3.0.0

apaTimePoints.FromDates(Dates, StartDate, EndDate)

Excel=apaTimePoints.FromDates(Dates, StartDate, EndDate)

Result

Calculates points in time, i.e. the time that has passed from the beginning of StartDate to each date, as a fraction of the period from the beginning of StartDate to the end of EndDate (Act/Act).

Syntax

Dates: r x 1 date vector

StartDate: start calendar date

EndDate: end calendar date

Algorithm

Formula

Remarks

The time period begins at the beginning of StartDate and lasts until the end of the day of EndDate.

Uses the actual calendar days, making no day count assumption.