Yup...
[tt]
Date3 = DateDiff("n", Date1, Date2)
[/tt]
That should work for ya.
By the way "n" is the interval for minutes. If you want days I think it's "D". But you can always check the help files for the exact syntax. Craig, mailto:sander@cogeco.ca
"Procrastination is the art of keeping up with yesterday."
Yes, but you DO need to read the soc (help) carefully. DateDiff reports the "Boundary Crossings", which may (often) is not the 'expected' results, as in:
DateDiff("Y", #12/31/01#, #1/1/02#) yields 1, as in One Year!
MichaelRed
m.red@att.net
There is never time to do it right but there is always time to do it over
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.