The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 09-29-2008
rajendra44 rajendra44 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 10
Hi u can use this below perl


Code:
perl -e'@x=localtime time-86400;printf"%4d%02d%02d\n",$x[5]+1900,$x[4]+1,$x[3]'

change this value 86400 according millsec