Sql.Net Class Library Documentation

TimePeriod.Add Method (TimePeriodType, Int32)

Adds or subtract a number of periods of a specified type

public DateTime Add(
   TimePeriodType addPeriodType,
   int addValue
);

Parameters

addPeriodType
Type of period to add
addValue
The number of periods to add

Return Value

DateTime value which is the result of the addition

Remarks

Use negative values to substract.

See Also

TimePeriod Class | Reeb.Reporting Namespace | TimePeriod.Add Overload List