LOTUSSCRIPT /COM/OLE のクラス


DateTimeValue プロパティ

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

定義位置
NotesItem

データ型
NotesDateTime 型

構文
取得方法:Set notesDateTime = notesItem.DateTimeValue

設定方法:Set notesItem.DateTimeValue = notesDateTime

使い方
日時アイテムと共に使用する必要があります。他の種類のアイテムの場合は Nothing を返します。

次の方法で、値を Nothing に設定することもできます。

Set notesItem.DateTimeValue = New NotesDateTime("")

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

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


関連項目