mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 01:06:00 +02:00
New page for date (display only)
Fix #15. Based on #32, thanks @shrayas.
This commit is contained in:
parent
9d6efaeb0f
commit
9fdabfccaa
1 changed files with 12 additions and 0 deletions
12
common/date.md
Normal file
12
common/date.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# date
|
||||||
|
|
||||||
|
> Set or display the system date
|
||||||
|
|
||||||
|
- Display the date using the default locale
|
||||||
|
|
||||||
|
`date +"%c"`
|
||||||
|
|
||||||
|
- Display the date using a custom format
|
||||||
|
|
||||||
|
`date +"%d/%m/%Y %H:%M:%S"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue