Hi, I am using command prompt and I entered the following command:
--> NET TIME
It returned me the following message:
Current time at......is 2:09:45 PM
The command completed successfully.
As from the message above, the time do not have milliseconds. How can I include also the milliseconds using the same command: NET TIME ?
FYI, I will have the following C# codes to retrieve the above result:
using (Process p = new Process())
{
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.FileName = ConstantReference.General.Net;
p.StartInfo.Arguments = @value;
p.Start();
p.WaitForExit();
string output = p.StandardOutput.ReadToEnd();
}
From the string output above, it do not have milliseconds, how can I make it to have milliseconds? I have tried to search from Internet resources but I can't find the answer.
Any input is appreciated. Thank you.