LOTUSSCRIPT/COM/OLE CLASSES


DateTimeValue property
Example

Read-write. Returns a NotesDateTime object representing the value of the item.

Defined in

NotesItem

Data type

NotesDateTime

Syntax

To get: Set notesDateTime = notesItem.DateTimeValue

To set: Set notesItem.DateTimeValue = notesDateTime

Usage

Must be used with date-time items. For items of other types, returns Nothing.

Can be set to Nothing, by using the following:

Set notesItem.DateTimeValue = New NotesDateTime("")

Unlike LotusScript date-time variants, Notes date-time items and NotesDateTime objects store a time zone and hundredths of a second. Use the DateTimeValue property if you need to retain an item's time zone or hundredths of a second component.

Language cross-reference

DateTimeValue property in Java Item class

Example
See Also