1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 08:02:08 +02:00

Add date RFC 3339 (#3902)

This commit is contained in:
Alexander Berezovsky 2020-03-27 18:47:55 -07:00 committed by GitHub
parent 5d5bc68fdc
commit d48c39ee93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`