how to calculate interval in PDA?

  • Thread starter Thread starter Sowen Zhang
  • Start date Start date
S

Sowen Zhang

Hi,

I use the following code piece

previous = DateTime.Now;
end = DateTime.Now;
TimeSpan diff = end - previous;

and then read diff.TotalMilliseconds

It works in desktop, but not in PDA, where always gives me 1000 ms or 0,
weird~~
Is there any better way to do what I want? Thanks!
 
Back
Top