Calculating A Past Date

jcruzAME

Registered User.
Local time
Yesterday, 20:16
Joined
Oct 5, 2011
Messages
135
All the functions I've looked up deal with having both dates and calculating a difference.

Is there way to calculate a date in the past?

For example, if you need to calculate 30, 60, 90 or even 365 days back from today.
 
Use DateAdd function with a negative value.. Like.. DateAdd("d",-10,Date) will give you 02/07/2012
 
Awesome, thanks!
 

Users who are viewing this thread

Back
Top Bottom