How about the timezone? Have you set it correctly together with the date and time?
Because it will also reset if your laptop's CMOS battery is dead.
Make sure that it's correct as well.
Thanks for the reply. Timezone and clock are correct, I rebooted and put correct time zone and then correct time. Then I open bitcoin-qt and same thing happens. It freezes when the clock warning shows up.
I closed bitcoin-qt deleted the wallet started bitcoin-qt again. Creates a new wallet.dat file and still get the clock warning but it does not freeze the program, it starts syncing fine. I then close bitcoin-qt and put back the old backup wallet and the issue comes back when the clock warning shows up. What could be the issue?