Calendar: AddDays

AddDays

Returns a CorDateTime that is the specified number of days from the original Time.



 Public Function AddDays(
	  ByRef Time As Variant,
	  ByVal Days As Long ) As CorDateTime

Parameters

Time
[ByRef] Variant. The date inwhich to add the days to.
Days
[ByVal] Long. The number of days to be added. This value can be negative.

Return Values

CorDateTime -  The new CorDateTime with the days added or subtracted.

See Also

Project CorLib Overview

Class Calendar Overview