AddMonths
Returns a CorDateTime this is the specified number of Months from the original Time.
Public Function AddMonths(
ByRef Time As Variant,
ByVal Months As Long ) As CorDateTime
Parameters
- Time
-
[ByRef]
Variant.
The time to add the specified number of Months to.
- Months
-
[ByVal]
Long.
The number of Months to be added to Time. This can be negative.
Return Values
CorDateTime - Returns a CorDateTime with the specified number of Months added.
See Also
Project CorLib Overview
Class Calendar Overview