LOTUSSCRIPT/COM/OLE CLASSES


Examples: NotesDateRange class
1. This example sets the StartDateTime and EndDateTime properties of a NotesDateRange object, then displays the value of the Text property. The Text property, at this point, has the value: "08/18/96 01:36:22 PM - 08/19/96 01:36:22 PM."
2. This example writes a value to the Text property, then displays the LocalTime property of the StartDateTime and EndDateTime properties (which are NotesDateTime objects). The LocalTime properties, at this point, are "08/18/96 01:36:22 PM" and "08/19/96 01:36:22 PM."
3. This example sets a value for a NotesDateRange object, then changes the NotesDateTime object on which the EndDateTime property is based. This implicitly changes the EndDateTime property.
See Also