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