No idea why, but my Eclipse v 3.5.2 (that I use for Android development) seems to have the wrong time.
Logs in the LogCat window are a few days out. And more annoyingly if I do a Calendar.getInstance(), it will return that same wrong date/time.
I’m on Windows 7 64bit and my system HAS the correct time!
Any idea if this is configurable somewhere?
Thanks in advance!
What you see in the logcat is the time on your device/emulator, not the computers time. If you use an emulator, chances are that it has the wrong time.
Just go to the device/emulators preferences as you would do on a real phone and set the correct time (usually start at the homescreen, press the
menukey, selectPreferences -> Date and Time). This should solve the issue.