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

Displaying tomorrow's date

Status
Not open for further replies.

teakandme

MIS
Jun 10, 2004
57
0
0
US
I have a script that I was using
next_M=`TZ=$TZ-24 date +%m%d` to obtain tomorrow's date....but it does not seem to be working any longer. Does anyone have a way I can grab tomorrow date without alot of calculations?
 
I figured it out.....

It was working once before, but now I need to run/set the variable to
next_M=`TZ=-24 date +%m%d`
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top