Re: date format linux
Posted by ErmanArslansOracleBlog on Mar 24, 2021; 7:53am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/date-format-linux-tp9509p9511.html
If I correctly understand you, you want that yesterday to be set to the value of 'today', the current date I mean. Why do you name that variable as "yesterday" is another question? :) why do you "days" argument there? I didn't see any reason to use it. Why do you use an empty $days variable in front of that days argument is another question..
Anyways; Why dont you just use -> date +"%Y%m%d" ?