The date and time on a Solaris machine can be changed using the date command

date mmddhhmmyy

mmddhhmmyy = month day hour min year

The following command sets the current date to July 1st 12:30am, 2011
#date 0701003011

Setting the Current Time

The following command sets the current time to 12:34:56:
# date 1234.56

Edwin is the founder and editor of Little Handy Tips and Wollongong Fitness. He is also the developer for the Google Custom Search WordPress plugin and Custom About Author WordPress plugin. Find out more about him here.