Ausam/doc/man/man1/date.1
.th DATE I 21/2/78
.sh NAME
date \*- print and set the date
.sh SYNOPSIS
.bd date
[yy[mm[dd[hh[mm]]]]]
.sh DESCRIPTION
If no argument is given, the current date and time are printed.
If an argument is given, the current date is set.
.it yy
is the last two digits of the year number;
the first
.it mm
is the month number;
.it dd
is the day number in the month;
.it hh
is the hour number (24 hour system);
the second
.it mm
is the minute number.
All numbers are optional, the fields ommitted taking default (\ current\ ) values.
For example:
.s3
.bd" date 10080045"
.s3
sets the date to Oct 8, 12:45 AM,
followed by:
.s3
.bd" date 50"
.s3
changes the date to Oct 8, 12:50 AM.
.it Date
takes care of the conversion to and from
local standard and daylight time.
.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