Timespan.IncDays

Parent Previous Next

Timespan.IncDays.

Increments the current instance with the specified number of days. Passing a negative value causes a decrement. Returns Self for a possible continuation of operations.


Syntax.


 IncDay(Integer days) : <Self>

 


Example:


 Timespan tsA.Set(14, 10, 8, 45, 298);

 tsA.IncDays(-4);

 Integer days := tsA.Days(); //Now days == 10;