'\"macro stdmacro
.if n .pH g1.settime @(#)settime	40.1 of 6/23/89
.nr X
.if \nX=0 .ds x} settime 1 "XENIX Compatibility Package" "\&"
.if \nX=1 .ds x} settime 1 "XENIX Compatibility Package"
.if \nX=2 .ds x} settime 1 "" "\&"
.if \nX=3 .ds x} settime "" "" "\&"
.TH \*(x}
.SH NAME
\f4settime\fP - changes the access and modification dates of files.
.SH SYNOPSIS
\f4settime\fP \f2mmddhhmm\f1[\f2yy\f1] [\f4-f\fP \f2fname\f1] \f2name\f1...
.SH DESCRIPTION
Sets the access and modification dates for one or more files.  The dates
are set to the specified date, or to the access and modification dates
of the file specified via \f4-f\fP.  Exactly one of these methods must be
used to specify the new date(s).  The first \f2mm\f1 is the month number;
\f2dd\f1 is the day number in the month; \f2hh\f1 is the hour number
(24 hour system); the second \f2mm\f1 is the minute number; \f2yy\f1 is
the last two digits of the year and is optional.  For example:
.TP 10
.SM
\f4settime\fP 1008004583 \f2ralph pete\f1
.P
sets the access and modification dates of files \f2ralph\f1 and \f2pete\f1
to Oct. 8, 12:45 AM, 1983.  Another example:
.TP 10
.SM
\f4settime -f\fP \f2ralph john\f1
.P
This sets the access and modification dates of the file, \f2john\f1, 
to those of the file, \f2ralph\f1.
.SH NOTES
Use of \f4touch\fP in place of \f4settime\fP is encouraged.

