View Single Post
turtle
Lord of the Rant.
Formerly turtle2472
 
Join Date: Mar 2005
Location: Upstate South Carolina
 
2021-12-10, 13:32

Code:
lastmonth=`date --date="yesterday" "+%Y%m"`
That would get me the date number right if it runs on the 1st of every month.
  quote