LOTUSSCRIPT /COM/OLE のクラス
例:AdjustYear メソッド
1. 次のスクリプトは、NotesDateTime オブジェクトの値に 4 年を加算します。その結果、このオブジェクトの値は 04/16/2002 05:36:00 PM になります。
Dim dateTime As New NotesDateTime( "04/16/98 05:36 PM" )
Call dateTime.AdjustYear( 4 )
2. 次のスクリプトは、NotesDateTime オブジェクトの値から 4 年を減算します。その結果、このオブジェクトの値は 04/16/92 05:36:00 PM になります。
Dim dateTime As New NotesDateTime( "04/16/96 05:36 PM" )
Call dateTime.AdjustYear( -4 )
関連項目
AdjustYear メソッド
用語集
フィードバック
ヘルプ
または
プロダクトユーザビリティ
ヘルプの使い方
すべてのヘルプ項目
用語集