Car had no electrical power this morning. No lights, no clock, no crank.

Came out this afternoon, checked the battery - 12.3v and it started up no problem. Clock had reset to 1:00.

Any ideas?