setdate(8)
System Administration 129
EXAMPLE 4 Sets "January 27 16:59:00 2006" of the local time (JST) as the current time.
Automatically replies with 'y' without displaying the prompt.
EXIT STATUS The following exit values are returned:
SEE ALSO setntp(8), settimezone(8), showdate(8), showntp(8), showtimezone(8)
XSCF> setdate -q -y -s 012716592006.00
Broadcast message from root (pts/4) (Fri Jan 27 16:59:10 2006):
The system is going down for reboot NOW!
The reset continues after this point.
0 Successful completion.
>0 An error occurred.