On my MacBook Air, the Ubuntu 10.04 VMWare guest OS was losing time whenever the Air went to sleep. To keep time synchronized between the host and guest, install VMWare Tools AND enable time synchronization by executing sudo /usr/bin/vmware-toolbox. Make sure the following checkbox is selected.

VMware properties