Previous Topic

Next Topic

PeriodDifference - MaxBasic Function

PeriodDifference(PeriodFrom: Number, PeriodTo: Number[, IncludeAdjustment: Boolean]): Number

Returns the number of periods between PeriodFrom and PeriodTo. If IncludeAdjustment is True, Adjustment Periods are also calculated.

PeriodDifference function syntax has these named arguments:

Parameter

Description

PeriodFrom

Required. The Period ID to calculate from.

PeriodTo

Required. The Period ID to calculate to.

IncludeAdjustment

Optional. When set to True, Adjustment Periods are included in the calculation. When set to False, Adjustment Periods are ignored.

See Also

Period Functions

Book Contents

Book Index