Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Advanced date five days from today 1

Status
Not open for further replies.

charanch

Programmer
Jan 3, 2004
55
US
Hi there,

How would you determine the current date plus five days in advance? Like today is date() and I need date() + 5 days? Thank you very much.

 
try DateAdd
DateAdd() Function

___________________________________________________________________

The answer to your ??'s may be closer then you think.
Check out Tek-Tips knowledge bank by clicking the FAQ link at the top of the page
 
Thank you very much. There are so many things to know about functions. I didn't even know where to start and that works perfectly. Thank you again.
 
Glad to help out

w3schools is a great palce to start getting some of them down. Have fun!!

___________________________________________________________________

The answer to your ??'s may be closer then you think.
Check out Tek-Tips knowledge bank by clicking the FAQ link at the top of the page
 
Thank you very much for the suggestions. I also found a site, aspbootcamp.com that has a lot of good info in a nutshell. Thanks again.
 
Just a note that if you're simply adding days, basic math does the trick:
Code:
Date() + 5
is 5 days from today. DateAdd() isn't necessary in this case if you don't want to use it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top