[Raspbian] Incorrect time at boot - Raspberry Pi Forums


hello,

noticed after boot , following minutes time using

code: select all

date
or python's
datetime.datetime.now()
different real time in timezone (which correctly set in pi).
way, after minutes clock automatically fixes correct value (and time keeps "flowing" correctly while pi running).

there way right time right after raspberry's boot?

there no rtc (real time clock) on pi, @ startup clock set value saved @ shutdown (and periodically in case of crash). done prevent time going backwards, can confuse both filing system , users.

however, if have network connection, pi synchronise internet time server. if network connection established during boot process, time should synchronised enough don't notice problems.
if network started manually, or not available, there may delay after booting before time can set correctly. in these cases may need add (hardware) rtc, , configure system use set system time until (and rtc) can synchronised time server.


raspberrypi



Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'