LOTUSSCRIPT/COM/OLE CLASSES


AdjustHour method
Example

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

Defined in

NotesDateTime

Syntax

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

Parameters

n%


preserveLocalTime
Usage

If the NotesDateTime object consists of only a date component, this method has no effect as long as the adjustment is less than the number of hours in a day.

The number of hours by which you increment a NotesDateTime object can cause the date component to be adjusted, too. For example, if n% is 24, the date component changes to the next calendar day.

Language cross-reference

adjustHour in Java DateTime class

@Adjust function in formula language

Example
See Also