Set the Date and Time on Solaris

By Lowell Heddings on December 1st, 2006

Setting the system date and time is fairly easy on solaris. Because you can easily set the time from the command line, you can set the time on a server remotely.

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 1201010106
Fri Dec  1 01:01:00 PST 2006

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 12/1/06
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!