CorDateTime: AddYears

AddYears

Adds a specified number of years to the current date., returning a new CorDateTime instance with the calcuated value.



 Public Function AddYears(
	  ByVal Value As Long ) As CorDateTime

Parameters

Value
[ByVal] Long. The number of years to be added.

Return Values

CorDateTime -  The new CorDateTime instance containing the calculated value.

See Also

Project CorLib Overview

Class CorDateTime Overview