YYYY-MM-DD format date in shell script
I tried using $(date)
in my bash shell script, however, I want the date in YYYY-MM-DD
format.
How do I get this?
I tried using $(date)
in my bash shell script, however, I want the date in YYYY-MM-DD
format.
How do I get this?