LOTUSSCRIPT/COM/OLE CLASSES


AdjustYear method
Example

Increments a date-time by the number of years you specify.

Defined in

NotesDateTime

Syntax

Call notesDateTime.AdjustYear( n% [, preserveLocalTime ] )

Parameters

n%


preserveLocalTime
Usage

The number of years by which you increment a NotesDateTime object can cause the century to change. If this happens, the year is represented with four digits instead of two, such as 08/18/2001.

Language cross-reference

adjustYear in Java DateTime class

@Adjust function in formula language

Example
See Also