The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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




Thread: Date help
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 01-29-2008
pt14 pt14 is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 28
If you have perl, you could try this:

yday=`perl -e 'print scalar localtime($_) ,"\n" for time + 86400'`