X
Xarky
Hi,
I am creating a program, and when it is executed it stores the
time. Now at each second I will display the duration of the program
execution.
DateTime progExecuted = DateTime.Now;
I started a thread that is to be used only for the timer. In the
thread I have another object of type DateTime, that reads the time
each second.
DateTime curTime = DateTime.Now;
Is there a simple way to reduce both timers and get the duration.
Thanks in Advance
I am creating a program, and when it is executed it stores the
time. Now at each second I will display the duration of the program
execution.
DateTime progExecuted = DateTime.Now;
I started a thread that is to be used only for the timer. In the
thread I have another object of type DateTime, that reads the time
each second.
DateTime curTime = DateTime.Now;
Is there a simple way to reduce both timers and get the duration.
Thanks in Advance