summaryrefslogtreecommitdiff
path: root/sys/man/1/date
diff options
context:
space:
mode:
authorgoogle <google@daverabbitz.ath.cx>2012-09-02 23:08:14 +1200
committergoogle <google@daverabbitz.ath.cx>2012-09-02 23:08:14 +1200
commitdfc348c4e26b9f1bc58b70de94b47915afb1e7bc (patch)
tree9404c675633248f6013557a8ec5c92387904cc9e /sys/man/1/date
parentcdb7bdde96c0147fffe6d568ac7837839f678d8c (diff)
Add -i and -t options to date for isodate and isotime display.
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