The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: help with a date command !!!
ahkip
Newbie
Rank: 1



UID 41
Digest Posts 0
Credits 0
Posts 14
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 13, 2007 10:34 AM  Profile | P.M. 
help with a date command !!!



help with a date command !!!



hi all,

can you please tell me how do i subtract current date to get the previous date???

sometime like

$ date +%m%d%y will give me 05292007


now i want the date as 05282007. (just 1 minus of the current date )

your help is appreciated.

thanks,


Top
Funk-woo10
Newbie
Rank: 1



UID 153
Digest Posts 0
Credits 0
Posts 12
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 13, 2007 10:35 AM  Profile | P.M. 
... by reading the faqs
Top
 

 

All times are GMT, the time now is Jul 31, 2010 03:28 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.004639 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP