Click here to Skip to main content
15,888,102 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, may I ask the difference between echo time and net time? Is the time returned using "echo time" a local PC time and whereas "net time" is server time?
I have tried search from the Internet but I can't seem to find the answer I want.
Any input is appreciated.
Thank you.
Posted

1 solution

echo time does not return the actual date & time, it returns
time


echo %time% returns the actual time of the local PC.

net time returns the local time of the synchronization server configured for the PC, if any; it returns an error if no synchronization server is configured.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900