manual page distributed with 4.1BSD
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 30 Apr 1985 05:21:09 +0000 (21:21 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Tue, 30 Apr 1985 05:21:09 +0000 (21:21 -0800)
SCCS-vsn: bin/date/date.1 4.1

usr/src/bin/date/date.1 [new file with mode: 0644]

diff --git a/usr/src/bin/date/date.1 b/usr/src/bin/date/date.1
new file mode 100644 (file)
index 0000000..80fb64d
--- /dev/null
@@ -0,0 +1,54 @@
+.\" Copyright (c) 1980 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)date.1      4.1 (Berkeley) %G%
+.\"
+.TH DATE 1 VAX/11
+.UC 4
+.SH NAME
+date \- print and set the date
+.SH SYNOPSIS
+.B date
+.RB "[ yymmddhhmm [ " . "ss ] ]"
+.SH DESCRIPTION
+If no argument is given, the current date and time are printed.
+If an argument is given, the current date is set.
+.I yy
+is the last two digits of the year;
+the first
+.I mm
+is the month number;
+.I dd
+is the day number in the month;
+.I hh
+is the hour number (24 hour system);
+the second
+.I mm
+is the minute number;
+.BI . ss
+is optional and is the seconds.
+For example:
+.IP
+date 10080045
+.PP
+sets the date to Oct 8, 12:45 AM.
+The year, month and day may be omitted, the current
+values being the defaults.
+The system operates in GMT.
+.I Date
+takes care of the conversion to and from
+local standard and daylight time.
+.SH FILES
+/usr/adm/wtmp to record time-setting
+.SH SEE ALSO
+utmp(5)
+.SH DIAGNOSTICS
+`No permission' if
+you aren't the super-user and you try to change the date;
+`bad conversion' if the date set is syntactically incorrect.
+.SH BUGS
+The system attempts to keep the date in a format closely compatible
+with VMS.  VMS, however, uses local time (rather than GMT) and does
+not understand daylight savings time.  Thus if you use both UNIX
+and VMS, VMS will be running on GMT.