If you're PC clock is getting back to it's initial time when restarting, then it must be the problem of CMOS Battery, which holds time and date, even when your PC have no power. So just Replace this CMOS battery and look at your PC's performance.
Please ask without any hesitation if you're not got the desired result.
Thanks & Regards,
All I Can Do Is Be Me!