J jlocke Registered User. Local time Today, 16:50 Joined Jul 23, 2002 Messages 31 Jul 31, 2005 #1 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
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
ansentry Access amateur Local time Tomorrow, 08:50 Joined Jun 1, 2003 Messages 995 Jul 31, 2005 #2 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
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
RuralGuy AWF VIP Local time Today, 14:50 Joined Jul 2, 2005 Messages 13,819 Aug 1, 2005 #3 DateDiff("d",Date(),#3/10/2006#) = 222 Days from 7/31/2005
ansentry Access amateur Local time Tomorrow, 08:50 Joined Jun 1, 2003 Messages 995 Aug 1, 2005 #4 Access right me wrong this: The answer for today (1st August 2005) is 456 Click to expand... should have read: The answer for today (1st August 2006) is 456 Click to expand... jlocke wanted to know: all i want is to know how days from today is 3/10/2006, Click to expand...
Access right me wrong this: The answer for today (1st August 2005) is 456 Click to expand... should have read: The answer for today (1st August 2006) is 456 Click to expand... jlocke wanted to know: all i want is to know how days from today is 3/10/2006, Click to expand...
RuralGuy AWF VIP Local time Today, 14:50 Joined Jul 2, 2005 Messages 13,819 Aug 1, 2005 #5 It's because you are always looking at things UpsideDown right? Is it cold right now?
ansentry Access amateur Local time Tomorrow, 08:50 Joined Jun 1, 2003 Messages 995 Aug 1, 2005 #6 Today 8 - 18 (46-64) Mostly sunny And remember Melbourne has been voted (twice) as: "The world’s most liveable city"
Today 8 - 18 (46-64) Mostly sunny And remember Melbourne has been voted (twice) as: "The world’s most liveable city"
RuralGuy AWF VIP Local time Today, 14:50 Joined Jul 2, 2005 Messages 13,819 Aug 1, 2005 #7 Gotta get down under some day!