LOTUSSCRIPT /COM/OLE のクラス


DateTimeValue プロパティ

読み書き可能。アイテムの値を表す NotesDateTime オブジェクトを返します。

定義位置NotesItem
データ型NotesDateTime
構文取得方法:Set notesDateTime = notesItem.DateTimeValue
設定方法:Set notesItem.DateTimeValue = notesDateTime

使用法日時アイテムと共に使用する必要があります。他の種類のアイテムの場合は Nothing を返します。
次の方法で、値を Nothing に設定することもできます。

Set notesItem.DateTimeValue = New NotesDateTime("")

LotusScript の日時形式の Variant 変数とは異なり、Lotus Notes の日時アイテムと NotesDateTime オブジェクトはタイムゾーンと 1/100 秒を保存します。アイテムのタイムゾーンまたは 1/100 秒の値を取得する必要があるときは DateTimeValue プロパティを使います。

クロスリファレンスJava Item クラスの DateTimeValue プロパティ

関連項目