LOTUSSCRIPT/COM/OLE CLASSES
Examples: AdjustSecond method
1. This script increments a NotesDateTime object by 20 seconds, so that it represents 04/16/96 05:36:20 PM.
Dim dateTime As New NotesDateTime( "04/16/96 05:36 PM" )
Call dateTime.AdjustSecond( 20 )
2. This script decrements a NotesDateTime object by 20 seconds, so that it represents 04/16/96 05:35:40 PM.
Dim dateTime As New NotesDateTime( "04/16/96 05:36 PM" )
Call dateTime.AdjustSecond( -20 )
3. This script creates a NotesDateTime object set to today's date and then attempts to increment it by 50 seconds. The AdjustSecond method, however, has no effect because dateTime does not have a time component.
Dim dateTime As New NotesDateTime( "Today" )
Call dateTime.AdjustSecond( 50 )
See Also
AdjustSecond method
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary