Advertisement
easternnl

Save the Date (and time)

May 20th, 2015
642
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. # example of the Linux date format to use in a Bash Script
  2. #
  3. # Result will be:
  4. #
  5. # 2015-05-20 09:23:20
  6. #
  7. DATE=`date +'%Y-%m-%d %H:%M:%S'`
  8. echo $DATE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement