stopwatch problems
<p>i have a stop watch which starts once the application starts(stopwatch 1)</p>

<p>i need to make another one which counts a total time(stopwatch 2)</p>

<p>For example:</p>

<p>Application starts for the first time on 17/9 at 12:50</p>

<p>stopwatch 1 starts counting on 17/9 at 12:50</p>

<p>stopwatch 2 starts too.Same date and time.</p>

<p>Application works for 2 hrs</p>

<p>Application terminates (stopwatch 1 is set to 00:00:00 , stopwatch 2 is set to 02:00:00)</p>

<p>Application starts on 18/9 at 13:00</p>

<p>stopwatch 1 starts counting on 18/9 at 13:00 (from 00:00:00)</p>

<p>stopwatch 2 starts counting too.Same date and time (NOT from 00:00:00 but 02:00:00)</p>

<p>Application works for another 2 hrs</p>

<p>Apllication terminates (stopwatch 1 is set to 00:00:00, stopwatch 2 is set to 04:00:00)</p>

<p>how can i do that?</p>

<p>In C i could code it so the program would make a text file and write/retrieve information.Can i do that here?</p>

<p>If i cant, is there some other way to save info in some file and retrieve it whenever i want?</p>
