Annotation of cci/usr/src/man/man1/date.1, revision 1.1.1.1

1.1       root        1: .TH DATE 1 "1 April 1983"
                      2: .UC 4
                      3: .SH NAME
                      4: date \- print and set the date
                      5: .SH SYNOPSIS
                      6: .B date
                      7: .RB "[ -u ] [ yymmddhhmm [ " . "ss ] ]"
                      8: .SH DESCRIPTION
                      9: If no arguments are given, the current date and time are printed.
                     10: If a date is specified, the current date is set.
                     11: The
                     12: .I -u
                     13: flag is used to display the date in GMT (universal) time.
                     14: This flag may also be used to set GMT time.
                     15: .I yy
                     16: is the last two digits of the year;
                     17: the first
                     18: .I mm
                     19: is the month number;
                     20: .I dd
                     21: is the day number in the month;
                     22: .I hh
                     23: is the hour number (24 hour system);
                     24: the second
                     25: .I mm
                     26: is the minute number;
                     27: .BI . ss
                     28: is optional and is the seconds.
                     29: For example:
                     30: .IP
                     31: date 10080045
                     32: .PP
                     33: sets the date to Oct 8, 12:45 AM.
                     34: The year, month and day may be omitted, the current
                     35: values being the defaults.
                     36: The system operates in GMT.
                     37: .I Date
                     38: takes care of the conversion to and from
                     39: local standard and daylight time.
                     40: .SH FILES
                     41: /usr/adm/wtmp to record time-setting
                     42: .SH SEE ALSO
                     43: utmp(5)
                     44: .SH DIAGNOSTICS
                     45: `Failed to set date: Not owner' if you try to change the date
                     46: but are not the super-user.
                     47: .SH BUGS

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.