How do I get my PC to sync with a time server??

Is it something to do with the DHCP setup?