Time and date changes randomly windows xp

Solution
your CMOS battery is dead, replace it and go into the control panel, time and date, set the correct time.
The CMOS battery is located on the motherboard.