JulianCalendar: AddWeeks

AddWeeks

Returns a CorDateTime this is the specified number of Weeks from the original Time.



 Public Function AddWeeks(
	  ByRef Time As Variant,
	  ByVal Weeks As Long ) As CorDateTime

Parameters

Time
[ByRef] Variant. The time to add the specified number of Weeks to.
Weeks
[ByVal] Long. The number of Weeks to be added to Time. This can be negative.

Return Values

CorDateTime -  Returns a CorDateTime with the specified number of Weeks added.

See Also

Project CorLib Overview

Class JulianCalendar Overview