Reputation: 13
I am writing an application with C# for Windows CE in Pocket PC and i need to change Pocket PC time & date manually. Is there any solution to change the time and date manually with c# code? Any ideas please?
Upvotes: 1
Views: 76
Reputation: 11283
Can you try with P/Invoke SetSystemTime from kernel32.dll?
Windows CE 1.0 and above seems to support that
This function sets the current system time and date. The system time is expressed in UTC.
Requirements OS Versions: Windows CE 1.0 and later. Header: Winbase.h. Link Library: Coredll.lib.
Upvotes: 0