setdate(8)
System Administration 127
NAME setdate - set the date and time of XSCF
SYNOPSIS setdate [[-q] -{y|n}][-u] -s date
setdate -h
DESCRIPTION The setdate(8) command sets the date and time of XSCF.
If the local date and time are specified, they are set following conversion to
coordinated universal time (UTC).
When date and time are set, the set date and time are reflected after XSCF is reset.
Privileges You must have platadm or fieldeng privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS The following options are supported:
EXTENDED
DESCRIPTION
■ When the command is executed, a prompt to confirm execution of the command
with the specified options is displayed. Enter "y" to execute the command or "n"
to cancel the command.
■ In case the XSCF unit is duplicated configuration, date and time must be set for
each XSCF unit.
■ If the XSCF is used as an NTP server, change the XSCF time, and synchronize the
domain times with the XSCF time. The XSCF time is applied to a domain during
either of the following operations:
-h Displays usage statement. When used with other options or
operands, an error occurs.
-n Automatically answers 'n' (no) to all prompts.
-q Suppresses all messages to stdout, including prompts.
-s date Sets date and time. date can be specified in either of the
following formats:
YYYY.MM.DD-hh:mm:ss Specifies date in the format of
"year.month.day-
hour:minute:second."
MMDDhhmmYYYY.ss Specifies data in the format
"MonthDayHourMinuteYear.
second."
-u Specifies time in UTC. When omitted, the local time is specified.
-y Automatically answers 'y' (yes) to all prompts.