dateOfMon=`for((i=0;i<7;i++)); do if [ \`date -d "-$i days" +%w\` = 1 ]; then date -d "-$i days" +%Y%m%d; fi; done`