Files
oam/knowledge base/date.md
2023-01-08 13:24:18 +01:00

16 lines
231 B
Markdown

# Date
1. [TL;DR](#tldr)
## TL;DR
```sh
# Print the current date in the 'YYYY-MM-DD' format.
date '+%F'
date '+%Y-%m-%d'
# Print the current date in the 'YYYY-MM-DDThh:mm:SS' format.
date '+%FT%T'
date '+%Y-%m-%dT%H:%M:%S'
```