DateTime.Now returns bad time on Windows Mobile RRS feed

  • Dotaz

  • Hello

    I use DateTime.Now to obtain current time but it returns one hour more on emulator (USA Windows Mobile 5.0 Pocket PC R2 Emulator). On real device it works good.

    I have set time zone GMT+1 on my desktop but emulator shows the time correctly but DateTime.Now returns incorrect time.I also tried to set GMT 0 on my desktop but it didn't help. And of course I tried to turn off daylight saving time and it din't help either.

    Does anybody know why is this and how to solve it? I don't want to develop my application on my PDA so I need the property to return right time.



    pátek 18. září 2009 15:12