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.