diff options
| author | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2006-12-22 20:52:35 +0000 |
| commit | 46439007cf417cbd9ac8049bb4122c890097a0fa (patch) | |
| tree | 6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /man/1/date | |
| parent | 37da2899f40661e3e9631e497da8dc59b971cbd0 (diff) | |
20060303-partial
Diffstat (limited to 'man/1/date')
| -rw-r--r-- | man/1/date | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/man/1/date b/man/1/date new file mode 100644 index 00000000..c2dc870c --- /dev/null +++ b/man/1/date @@ -0,0 +1,55 @@ +.TH DATE 1 +.SH NAME +date \- print the date +.SH SYNOPSIS +.B date +[ +.B -u +] [ +.B -n +] [ +.I seconds +] +.SH DESCRIPTION +Prints the date to standard output, in the format: +.IP +.EX +Wed Jan 12 11:54:06 GMT 2002 +.EE +.PP +The options are +.TP +.B -u +Report Greenwich Mean Time (GMT) rather than local time. +.TP +.B -n +Report the date as the number of seconds since the +epoch, 00:00:00 GMT, January 1, 1970. +.PP +Current time is obtained +by reading +.BR /dev/time . +The conversion from Greenwich Mean Time to local time depends on the contents of +.BR /locale/timezone . +.PP +If the optional argument +.I seconds +is present, it is used as the time to convert rather than +the real time. +.SH FILES +.TF "/locale/timezone " +.TP +.B /locale/timezone +Current time zone name and adjustments +.TP +.B /locale +A directory containing time zone tables +.TP +.B /dev/time +microseconds since the epoch, 00:00:00 GMT, 1 January 1970 +.SH SOURCE +.B /appl/cmd/date.b +.SH "SEE ALSO" +.IR time (1), +.IR daytime (2), +.IR cons (3) |
