DateDiff Limit

hgus393

Registered User.
Local time
Today, 08:15
Joined
Jan 27, 2009
Messages
83
Hi,

when running a custom function finding the number of days between two dates I use datediff. However I get overflow when the date is too far away in the future. Is there a maximum or a limit on the number of days (or date) that datediff can return?
Cheers
Bob
 
Ahem..figured it out had defined datediff variable as integer ...
 
It would have been useful to see the function in your first post hgus. ;) Glad you got it working though.
 

Users who are viewing this thread

Back
Top Bottom