[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
bash date math
- From: rick henderson <rick henderson wsdtx org>
- To: redhat <redhat-list redhat com>
- Subject: bash date math
- Date: Thu Jul 31 10:38:00 2003
Dear list,
In a bash script, I need to know the previous day.
if 03012003 then 02282003
if 05012003 then 04302003
if 08012003 then 07312003
using date, I can get todays date. But I need date math.
any suggestions on how to do this?
Rick
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]