DateTime.Now.Millisecond always return 0 on compact framework
- by Sachin
I need some way to find the elapsed time or time taken in milliseconds for a function to execute in compact framework.
For the same I tried DateTime.Now.Millisecond.
But DateTime.Now.Millisecond always return 0.
Also I tried with Now.Tick. But it also returns the value in multiplication of 1,00,00,000 which means it always returns seconds part ignoring the milliseconds.
My question is how to determine the time elapsed in millisecond on compact framework.