Setting timezone for date in bash

DATE=$(TZ=America/New_York date +%Y%m%d);

Leave a Reply

Your email address will not be published.