LOTUSSCRIPT/COM/OLE CLASSES


Examples: AdjustHour method
1. This script increments a NotesDateTime object by two hours, so that it represents 04/16/96 07:36:00 PM.
2. This script decrements a NotesDateTime object by two hours, so that it represents 04/16/96 03:36:00 PM.
3. This script increments a NotesDateTime object by ten hours. This carries the date over to the next day, so that it represents 04/17/96 03:36:00 AM.
4. This script creates a NotesDateTime object set to today's date and increments it by 24 hours. The date-time does not have a time component, but since 24 hours crosses a day boundary, the date component is incremented by 1 day.
See Also