User's Guide for MS-DOS Clients

164
Enhanced Reference
Command and Utility Summary
Net Time
Purpose
The net time command synchronizes a workstation’s clock with a servers,
or displays the time and date for a server or domain.
Syntax
net time [\\computername | /domain[:name]] [/set]
where
\\computername
Is the name of a server with which you want to check or synchronize a
workstation’s clock.
/domain[:name]
Specifies that the domain controller is used as the time source. Use name to
specify a domain other than the workstation domain.
/set
Synchronizes a workstation’s clock with that of a specified server or domain.
To display the current time and date for the server designated as the
network’s official time source, type
net time without options.
Comments
This command provides a way to check whether a workstation’s clock is
properly synchronized with the clocks on its servers.
Examples
To see the time and date for the domain controller for the accounting domain,
type:
net time /domain:accounting
To set your workstation’s clock to the time and date on the network’s designated
time server, type:
net time /set