From d48c39ee932e3bafd8bc00a5fddc6044e34b0717 Mon Sep 17 00:00:00 2001 From: Alexander Berezovsky Date: Fri, 27 Mar 2020 18:47:55 -0700 Subject: [PATCH] Add date RFC 3339 (#3902) --- pages/common/date.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/date.md b/pages/common/date.md index 25545cd67..f3658ce15 100644 --- a/pages/common/date.md +++ b/pages/common/date.md @@ -21,3 +21,7 @@ - Convert a specific date to the Unix timestamp format: `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`