浏览代码

Retrieve ISO 8601 date via date utility

Ben Ripkens 9 年之前
父节点
当前提交
96d7c1752d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pages/common/date.md

+ 2 - 2
pages/common/date.md

@@ -6,6 +6,6 @@
 
 
 `date +"%c"`
 `date +"%c"`
 
 
-- Display the date using a custom format
+- Display the date in UTC and ISO 8601 format
 
 
-`date +"%d/%m/%Y %H:%M:%S"`
+`date -u +"%Y-%m-%dT%H:%M:%SZ"`