LOTUSSCRIPT /COM/OLE のクラス
例:AdjustSecond メソッド
1 次のスクリプトは NotesDateTime オブジェクトを 20 秒増やします。オブジェクトは 04/16/96 05:36:20 PM を表します。
Dim dateTime As New NotesDateTime( "04/16/98 05:36 PM" )
Call dateTime.AdjustSecond( 20 )
2 次のスクリプトは NotesDateTime オブジェクトを 20 秒減らします。オブジェクトは 04/16/96 05:35:40 PM を表します。
Dim dateTime As New NotesDateTime( "04/16/96 05:36 PM" )
Call dateTime.AdjustSecond( -20 )
3 次のスクリプトは今日の日付が設定される NotesDateTime オブジェクトを作成し、作成したオブジェクトを 50 秒増やそうとします。しかし、dateTime には時刻の部分がないため、この AdjustSecond メソッドは無効です。
Dim dateTime As New NotesDateTime( "Today" )
Call dateTime.AdjustSecond( 50 )
関連項目
AdjustSecond メソッド
用語集
フィードバック
ヘルプ
または
プロダクトユーザビリティ
?
ヘルプの使い方
すべてのヘルプ項目
用語集