NotesDateRange (LotusScript®)

Represents a range of dates and times.

Containment

Contained by: NotesDocument, NotesItem, NotesSession, NotesUIScheduler

Contains: NotesDateTime

Properties

EndDateTime

Parent

StartDateTime

Text

Creation

To create a new NotesDateRange object, you can use the CreateDateRange method in NotesSession. To initialize the object, you can do one of the following:

  • Set StartDateTime and EndDateTime to NotesDateTime values.
  • Assign to Text a string value that represents a date range. This consists of two string representations of date-time values separated by a hyphen (for example, "01/01/97 - 01/02/97").

Usage

When you set StartDateTime or EndDateTime, its value replaces the corresponding value in Text, and vice versa.

Example