ACC: DateDiff() Function Returns Incorrect ValueLast reviewed: May 28, 1997Article ID: Q104973 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you use the DateDiff() function on a large interval where the time periods are specified in minutes or seconds, the result is not correct.
CAUSEThe DateDiff() function returns a long integer. If the result is greater than the allowed range for long integers (-2,147,483,648 to 2,147,483,647), Microsoft Access truncates the value and returns the truncated value.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional query words: date
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |