I will tell you the best solution of this problem. Just follow these steps and after completion you will be able to login to facebook, yahoo, gmail etc.
- Click on Start Menu and then control penal.
- Open Date/Time setting
- Adjust correct date and time according to your region.
- Open "Internet Time Zone" tab.
- Click on "Update Now" button. After clicking on button, It will start synchronzing your internet server timing.
- After 7-8 seconds you will see a message, "The time has been successfully synchronized with time.windows.com on 07-07-2013 at 5:09PM.