Set the Local Date and Time on Solaris

Setting the system date and time is easy on solaris OS because you can easily set the time from the command line.

date mmddhhmmyy

The date command takes the syntax mmddhhmmyy, or “month day hour minute year”. You have to be superuser to set the time.

Example:

date 1201020322

Fri Dec 1 02:03:00 PST 2022

Leave a Comment