How to Determine What Time Server Your Domain Controller Is Using

Forums: 

Open an elevated command prompt and type:

net time /querysntp

or

w32tm /query /status


How to troubleshoot time server synchronization problems
If after changing the settings, your device still has problems connecting to the NTP server, you can reset the Windows Time service configurations using Command Prompt.

Open the Start menu.
Search for cmd.exe, right-click the result, and select Run as administrator.
Type the following command to disable the Windows Time service and press Enter:

net stop w32time

Type the following command to unregister the Windows Time service and to remove all settings information from the registry and press Enter:

w32tm /unregister

Type the following command to register the Windows Time service and to load the default settings to the registry and press Enter:

w32tm /register

Type the following command to start the Windows Time service and press Enter:

net start w32time

Type the following command to force your computer to synchronize your computer without waiting and press Enter:

w32tm /resync /nowait

Restart your computer.
Once you completed the steps, your device should now synchronize with its clock over the internet.