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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top