Calendar: AddDays

AddDays

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



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

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

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

Remarks

See Also

Project VBCorLib Overview Class Calendar Overview Calendar Properties Calendar Methods AddHours