tldr/pages/common/date.md

12 lines
183 B
Markdown
Raw Normal View History

# date
> Set or display the system date.
- Display the date using the default locale:
`date +"%c"`
- Display the date in UTC and ISO 8601 format:
`date -u +"%Y-%m-%dT%H:%M:%SZ"`