wp.jochen.hayek.name/blog-en

the simpliest way to get yesterday’s date on a Unix command line

$ date '+%Y%m%d' --date=yesterday
20140603
Exit mobile version