The command date -s <date or time string> will set the system time and/or date. Where <date or time string> should be enclosed in double-quotes (“) and describe the date and/or time that you would like to set.
date -s “31 OCT 2011 13:55:00”
This command needs to be run as root in order for it to work.
Example to set just the time:
date +%T -s 07:54:00
You can also use the plain date command to display the current system date and time.
Note, you must restart the system admin in order the system time change to be reflected in Eclipse.