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 Date or CorDateTime 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 GregorianCalendar Overview