mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:42:07 +02:00
Add date RFC 3339 (#3902)
This commit is contained in:
parent
5d5bc68fdc
commit
d48c39ee93
1 changed files with 4 additions and 0 deletions
|
@ -21,3 +21,7 @@
|
||||||
- Convert a specific date to the Unix timestamp format:
|
- Convert a specific date to the Unix timestamp format:
|
||||||
|
|
||||||
`date -d "{{2018-09-01 00:00}}" +%s --utc`
|
`date -d "{{2018-09-01 00:00}}" +%s --utc`
|
||||||
|
|
||||||
|
- Display the current date using the RFC-3339 format (`YYYY-MM-DD hh:mm:ss TZ`):
|
||||||
|
|
||||||
|
`date --rfc-3339=s`
|
||||||
|
|
Loading…
Add table
Reference in a new issue