bash

Output of date format using Bash

I Have a bash .sh script and I am trying to zip up yesterday’s log and archive in a AWS Bucket. I need some help with getting the format of the file name correct but not having luck with it. Here is the script:
#!/bin/bash
/jobs/copytS3.sh…