Browse Source

Add date RFC 3339 (#3902)

Alexander Berezovsky 5 years ago
parent
commit
d48c39ee93
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/date.md

+ 4 - 0
pages/common/date.md

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