DougieLawson wrote:Open a command window
sudo /etc/init.d/ntp stop --> this stops the network time daemon which normally updates the time form the internet
sudo ntpd -q -g --> forces a time update from the internet
sudo /etc/init.d/ntp start --> restarts the network time daemon for automatic time updates
exit --> closes the terminal console
[/color]
All this of course only works with an internet connection.
The time you see is the one that the kernel was compiled at. The Raspberry doesn't have a persistent hardware clock like a PC. It uses a fake hw clock which periodically saves the time to a file on the SD-card. It will default to the kernel compile time if no fake hardware clock data is available. At boot time if there is an internet connection available, it will set the timefrom there. If no internet is available it uses the fake hardware clock time, usually the time of the last shutdown, or the kernel compile time.
Regards
Aydan