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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variable to Add X # of days to current Date

Status
Not open for further replies.

SurdeyMon

IS-IT--Management
Sep 23, 2004
5
US
Hello -

Is it possible to set up a script to create a variable (say X) and based on a term script - Take the current date and add the # of days set forth in X into the following format:
mmddyyyy?

X = 5
Date = June 14, 2005
Then run a script to Add 5 days to the current date resulting in "06202005"

Thanks in advance.

Rob
 
See PHV's excellent FAQ on the subject in th eFAQ section

Columb Healy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top