Synchronizes the computer's internal clock with another computer's clock.
net time [\\computername | /domain[:domainname] | /rtsdomain[:domainname]] [/set] net time [\\computername] [/querysntp] | [/setsntp[:ntp server list]]
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
None | Displays the date and time as set on the computer designated as the network's time server. |
\\computername | Specifies the name of a network server. |
/domain[:domainname] | Specifies a domain to synchronize with. |
/rtsdomain[:domainname] | Specifies a domain of the Reliable Time Server to synchronize with. |
/set | Synchronize the computer's internal clock with the specified computer or domain. |
/querysntp | Displays the name of the Network Time Protocol server. |
/setsntp[:ntp server list] | Specifies a list of Network Time Protocol servers to be used using hostnames or IP addresses. |