Set the date and time in Solaris
The fastest way to set the date and time in Solaris is by using the date command while being the superuser (root user).
date mmddhhmmyy
The date command takes the syntax mmddhhmmyy, or "month day hour minute year".
Example:
date 012112052009
Wed Jan 21 12:05:00 IST 2009

and the fastest way to set it to the right time would be to use ntpdate(1M).
alan
Posted by Alan Hargreaves on January 21, 2009 at 01:15 PM IST #
yes Alan, ntpdate is the fastest when you have an ntp server.
~Sujith Emmanuel
Posted by suji on January 21, 2009 at 01:18 PM IST #