Skip to content

Instantly share code, notes, and snippets.

@fazlurr
Created August 23, 2019 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fazlurr/ec5065425519404983e27117d179516b to your computer and use it in GitHub Desktop.
Save fazlurr/ec5065425519404983e27117d179516b to your computer and use it in GitHub Desktop.
date -d "yesterday 13:00" '+%Y-%m-%d'
echo $(date -d "yesterday 13:00" +%Y_%m_%d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment