date comparision
hi ..
i need to do ksh script to compare two dates.
one date is from file which have output like below
11-JAN-13
06-MAR-11
second date should be 15 days before the current date.
for ex: if currrent date is 30 jan... second date should be 15 jan
now i have to compare these two dates.
if 11-JAN-13 >second date then
echo "output is date is recent(less than 15 days)
else
echo "not recent)"
|