Quote:
Originally Posted by ethaniz3d
solved it. If i changed the %y to a %Y, it gave me the 4 digit year. Thank you very much for all your help!
|
If your problem is solved, please mark the thread solved.
Also, if you want to say thanks just click on yes.
Quote:
Originally Posted by ethaniz3d
StartDate=$(date -d "2 days ago" +%m/%d/%Y)
EndDate=$(date -d "6 days ago" +%m/%d/%Y)
|
Finally - probably not important at all - StartDate is now "coming" 4 days after your EndDate