How to set the time in Linux; (from a command line)
date -s “09/21/2007 09:20:00”
hwclock –systohc
the second command links the time back to the hardware clock.
Note: within a vm guest it is always advised to install the guest additions as the time on a guest can slowly move away from the correct time.