1DATE(1)                     General Commands Manual                    DATE(1)
2
3
4

NAME

6       date - print and set the date
7

SYNOPSIS

9       date [ yymmddhhmm [ .ss ] ]
10

DESCRIPTION

12       If  no argument is given, the current date and time are printed.  If an
13       argument is given, the current date is set.  yy is the last two  digits
14       of  the year; the first mm is the month number; dd is the day number in
15       the month; hh is the hour number (24 hour system); the second mm is the
16       minute number; .ss is optional and is the seconds.  For example:
17
18              date 10080045
19
20       sets the date to Oct 8, 12:45 AM.  The year, month and day may be omit‐
21       ted, the current values being the defaults.   The  system  operates  in
22       GMT.   Date takes care of the conversion to and from local standard and
23       daylight time.
24

FILES

26       /usr/adm/wtmp to record time-setting
27

SEE ALSO

29       utmp(5)
30

DIAGNOSTICS

32       `No permission' if you aren't the super-user and you try to change  the
33       date; `bad conversion' if the date set is syntactically incorrect.
34
35
36
37                                                                       DATE(1)
Impressum