Messenger takes its time from the clock on the computer, so if that is correct then the time thing won't be the problem.
If you had a virus that you're not sure what it did then re-installing the OS may be the best option.
Try
searching the forum for your error code as you may find threads from people who had similar problems that could have solutions in them