JulianCalendar: AddYears

AddYears

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



 Public Function AddYears(
	  ByRef Time As Variant,
	  ByVal Years As Long ) As CorDateTime

Parameters

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

Return Values

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

See Also

Project CorLib Overview

Class JulianCalendar Overview