Datediff problem

jlocke

Registered User.
Local time
Today, 16:50
Joined
Jul 23, 2002
Messages
31
:) I'm having problems with a simple piece of code using datadiff. all i want is to know how days from today is 3/10/2006, which obivously will countdown as everyday gets closer.

joe
 
Put this in a query, MyDate should be changed to the name of your field that holds the date 31/10/2006


Code:
Difference: DateDiff("d",Date(),[MyDate])


The answer for today (1st August 2005) is 456
 
DateDiff("d",Date(),#3/10/2006#) = 222 Days from 7/31/2005
 
It's because you are always looking at things UpsideDown right? :D Is it cold right now?
 
Today
8 - 18 (46-64)
Mostly sunny

And remember Melbourne has been voted (twice) as:

"The world’s most liveable city"
 

Users who are viewing this thread

Back
Top Bottom