date Command Examples

Set or display the system date. More information: https://www.gnu.org/software/coreutils/date.

date +%c

date -u +%Y-%m-%dT%H:%M:%S%Z

date +%s

date -d @{{1473305798}}

date -d "{{2018-09-01 00:00}}" +%s --utc

date --rfc-3339 s

date {{093023592021.59}}

date +%V