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