summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/date/date.18
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/date/date.1 b/bin/date/date.1
index d8cdcef..917c5cd 100644
--- a/bin/date/date.1
+++ b/bin/date/date.1
@@ -328,6 +328,14 @@ The command:
sets the time to
.Li "2:32 PM" ,
without modifying the date.
+.Pp
+Finally the command:
+.Pp
+.Dl "date -j -f ""%a %b %d %T %Z %Y"" ""`date`"" ""+%s"""
+.Pp
+can be used to parse the ouput from
+.Nm
+and express it in epoch time.
.Sh ENVIRONMENT
The following environment variables affect the execution of
.Nm :
OpenPOWER on IntegriCloud