summaryrefslogtreecommitdiff
path: root/sys/man/1/date
diff options
context:
space:
mode:
authorgoogle <google@daverabbitz.ath.cx>2012-09-02 00:33:39 +1200
committergoogle <google@daverabbitz.ath.cx>2012-09-02 00:33:39 +1200
commit2dfe66d72f23e9e4cf24cd3634ebe786c68440e3 (patch)
treeb52534fee7b4f802f93c7049df87ebf0b15e291e /sys/man/1/date
parent87b6b93257d69ab29c74c278b943f8948761b3f0 (diff)
Add -i flag to date: prints ISO-8601 datestamp
Add -t flag to date: prints ISO-8601 timestamp
Diffstat (limited to 'sys/man/1/date')
-rw-r--r--sys/man/1/date6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/man/1/date b/sys/man/1/date
index 705a95425..b49d65192 100644
--- a/sys/man/1/date
+++ b/sys/man/1/date
@@ -24,6 +24,12 @@ Report Greenwich Mean Time (GMT) rather than local time.
.B -n
Report the date as the number of seconds since the
epoch, 00:00:00 GMT, January 1, 1970.
+.TP
+.B -i
+Report the date as ISO-8601 without time and timezone suffix.
+.TP
+.B -t
+Report the date as ISO-8601 with time and timezone suffix.
.PP
The conversion from Greenwich Mean Time to local time depends on the
.B $timezone