Honored Contributor Honored Contributor
Date manipulation
I have some scripts which are using for different purposes, like disk monitoring, log monitoring etc. etc.But I have a problem regarding date manipulation.

Say on 1st April, I have to check the logs of yesterday which is 31st March. Then how would my system will act according to the month whatever comes.

what would be the solution?
a warrior never quits