SweRaspUser
Posts: 6
Joined: Mon Jul 09, 2012 8:03 am

Set date and time

Wed Jul 18, 2012 6:29 am

Running Arch Linux. Tried to set date and time with date -s "18 JUL 2012 08:10:00" but it is 1970 again after restart.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23673
Joined: Sat Jul 30, 2011 7:41 pm

Re: Set date and time

Wed Jul 18, 2012 7:37 am

The Raspi has no battery RTC so the clock is reset on each reboot.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

SweRaspUser
Posts: 6
Joined: Mon Jul 09, 2012 8:03 am

Re: Set date and time

Wed Jul 18, 2012 8:16 am

Is there anyway of setting the correct time through ntp or other ways at boot time ?

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Set date and time

Wed Jul 18, 2012 9:10 am

No, but there is a way to get clock nearer to the mark
http://www.raspberrypi.org/phpBB3/viewt ... 170#p56170

Return to “Arch”