Skip to content

Instantly share code, notes, and snippets.

@davidraedev
Last active March 6, 2021 02:06
Show Gist options
  • Save davidraedev/ee096eacd3e222adb50093b0aeb0bb13 to your computer and use it in GitHub Desktop.
Save davidraedev/ee096eacd3e222adb50093b0aeb0bb13 to your computer and use it in GitHub Desktop.
Bash date for filename / mysql
#filename
date +'%Y_%m_%d_%H_%M_%S'
# mysql
date +'%Y-%m-%d %H:%M:%S'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment