AnnPhil
12-16-2008, 06:47 AM
what is the correct expression for calculating the date for 3 years from todays date?
|
View Full Version : DateDiff function? AnnPhil 12-16-2008, 06:47 AM what is the correct expression for calculating the date for 3 years from todays date? DreamGenius 12-16-2008, 06:52 AM DateAdd("Y",3,Date) Brianwarnock 12-16-2008, 07:01 AM I think that should be Dateadd("yyyy",3,Date()) according to Help. AnnPhil 12-16-2008, 07:42 AM sorry,I need to calculate 3 years back from todays date DreamGenius 12-16-2008, 07:43 AM DateAdd("YYYY",-3,Date()) AnnPhil 12-16-2008, 08:45 AM Thanks that worked great! |