|
-
Nov 22nd, 2000, 11:56 AM
#1
Thread Starter
Hyperactive Member
Greetings and Salutations!
I would like to know how I can get a date formatted minus seven days from todays date and also one month prior.
Thank you for reading this and any help you can provide.
-
Nov 22nd, 2000, 12:01 PM
#2
You can do this with the DateAdd() function like so:
dteWeekAgo = DateAdd("d", -7, Date)
dteMonthAgo = DateAdd("m", -1, Date)
Paul
-
Nov 22nd, 2000, 12:02 PM
#3
Frenzied Member
-
Nov 22nd, 2000, 12:47 PM
#4
Thread Starter
Hyperactive Member
Excellent!!!
A big thanks to both of you!!! That works just fine.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|