Thursday, May 31, 2007

Resetting VMWare date

Should you need to have VMWare always start at a given date (useful for regression testing of date-related problems), you should have a look at the following article by Chris Wolf.

In short, the .vmx file settings are

tools.syncTime = "FALSE"
time.synchronize.continue = "FALSE"
time.synchronize.restore = "FALSE"
time.synchronize.resume.disk = "FALSE"
time.synchronize.shrink = "FALSE"

The time itself is set using

rtc.startTime = 1167773040

The value can be computed using a timestamp calculator

No comments: