Ask a questionAsk a question
 

AnswerTo get the system date and time with microsecond accuracy in WM6

  • Wednesday, July 02, 2008 9:10 AMMobiApp Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    In Windows Mobile 6.0,  I need to get the system date and time with microsecond accuracy. Any help on this please ?

     

    Thanks.

Answers

  • Thursday, July 03, 2008 5:58 AMAlexFeinmanMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There is no API that will give you microsecond accuracy on Windows Mobile, simply because the hardware does not support it. The best you can do is use QueryPerformanceCounter. See this for an example

     

All Replies

  • Thursday, July 03, 2008 5:58 AMAlexFeinmanMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There is no API that will give you microsecond accuracy on Windows Mobile, simply because the hardware does not support it. The best you can do is use QueryPerformanceCounter. See this for an example