A
Al
I am trying to use the following code to populate a
variable that is equal to 6 months ago from today's date.
TDay is declared as a Date.
TDay = Format(DATE, "Short Date")
TDay = TDay - 183
Even though my system clock has today's date correctly,
TDay is populated with the date: 12/13/2002. The
subtraction part works fine, I just can't figure out why
the date is incorrect. I got the problem part of the code
from the Access Help screen, which is also confusing.
Thaks in advance,
Al
variable that is equal to 6 months ago from today's date.
TDay is declared as a Date.
TDay = Format(DATE, "Short Date")
TDay = TDay - 183
Even though my system clock has today's date correctly,
TDay is populated with the date: 12/13/2002. The
subtraction part works fine, I just can't figure out why
the date is incorrect. I got the problem part of the code
from the Access Help screen, which is also confusing.
Thaks in advance,
Al