The alarm clock will set itself to right time, date and temperature immediately once plugged in.
The long lasting button cell backup battery (installed ) will holds all settings and ensure the time always be accurate in case of main power interrupted.