Examples: AdjustSecond method
- 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 )
- 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 )
- 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 )
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.