Does your clock on your Mac occasionally display the incorrect time? This usually happens due to the battery and system hardware not syncing, thus there are lapses in the time count.
You can solve this problem by going to System Preferences, under the System pane go to Date & Time. Once there, check the "Set date and time automatically" box. Now you should be fully synced if and when you have an internet connection.