PRB: DateValue Does Not Return Time Information (178554)
The information in this article applies to:
- Collaboration Data Objects (CDO) 1.2
- Collaboration Data Objects (CDO) 1.21
This article was previously published under Q178554 SYMPTOMS
The DateValue function does not appear to use time as part of its filter
criteria when filtering appointments.
CAUSE
If the date argument includes time information, DateValue does not return
the time. However, if the date includes invalid time information (such as
"89:98"), an error occurs.
RESOLUTION
If you want to apply a filter to your AppointmentItems collection that
includes time as part of either the StartTime or EndTime, do not use the
DateValue function.
STATUS
This behavior is by design.
REFERENCES
For more information, please see the following article in the Microsoft
Knowledge Base:
178508
HOWTO: Write a VB MessageFilter for Your Appointment Collection
Microsoft Visual Basic Online: DateValue
Modification Type: | Minor | Last Reviewed: | 3/4/2004 |
---|
Keywords: | kbMsg kbprb KB178554 kbAudDeveloper |
---|
|