User Commands date(1) NAME date - write the date and time SYNOPSIS /usr/bin/date [ -u ] [ + format ] /usr/bin/date [ -a [ - ] sss.fff ] /usr/bin/date [ -u ] [ [ mmdd ] HHMM | mmddHHMM [ cc ] yy ] [ .SS ] /usr/xpg4/bin/date [ -u ] [ + format ] /usr/xpg4/bin/date [ -a [ - ] sss.fff ] /usr/xpg4/bin/date [ -u ] [ [ mmdd ] HHMM | mmddHHMM [ cc ] yy ] [ .SS ] DESCRIPTION The date utility writes the date and time to standard out- put or attempts to set the system date and time. By default, the current date and time will be written. Specifications of native language translations of month and weekday names are supported. The month and weekday names used for a language are based on the locale specified by the environment variable LC_TIME; see environ(5). .... the current values are applied as defaults. For example: date 10080045 sets the date to Oct 8, 12:45 a.m. The current year is the default because no year is supplied. The system operates in GMT. date takes care of the conversion to and from local standard and day- light time. Only a user with the solaris.system.date |* authorization may change the | date. After successfully setting the date and time, date displays the new date according to the default format. The date command uses TZ to SunOS 5.7 Last change: 18 Mar 1997 2