SETTIME(1XNX)

NAME
settime - (XENIX) change the access and modification dates of files

SYNOPSIS
settime [-f ref_file] [MMDDhhmm[YY]] file ...

DESCRIPTION
The settime utility changes the access and modification times of files. Arguments that do not refer to existing files are ignored. If none of the arguments specify the time to set, the current time is used.

If the -f option is not used and the first non-option argument consists of exactly eight or ten digits, the times of the files are set to the given time.

The meaning of fields in time specifications is as follows:

    CC    The first two digits of the year.
    YY    The second two digits of the year.
    MM    The month of the year (01-12).
    DD    The day of the month (01-31).
    hh    The hour of the day (00-23).
    mm    The minute of the hour (00-59).
    SS    The second of the minute (00-61).

Unless YY is present, the current year is used.

With the -f ref_file argument, the times of the files are set to those of ref_file.

SEE ALSO
touch(1)