I want to get a date in the format ‘YYYYMMdd’ (for example, today would be 20110627) format for the monday of the current week. From tomorrow through to Sunday I’d like to still print out Mondays (today’s) date. Then Next week, repeat the process
Share
if a range is what your after you may need to do a few things
which would output:
More on Dates
note this only works on GNU date
I have read that: