You can also sync a computer with an internet time server if you're running Apple macOS.
Click the "Apple" menu at the top left corner of your screen and click "System Preferences." Click "Date & Time." Make sure the "Set Date & Time Automatically" checkbox is set if you want to sync the clock.