The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 11-18-2007
sandy0077's Avatar
sandy0077 sandy0077 is offline
Registered User
  
 

Join Date: Aug 2007
Location: UK
Posts: 10
you can get the previous day's date with following command:

DATE_STAMP=`TZ=CST+24 date +%y%m%d`


Try the following link:

Getting yesterday DATE