开发者

how to update date & time & region on Windows CE?

How can I update date & time & region on Windows CE?

I need any C# code for this.

for example: i want to update to: 21/12/2010 05:34 (reg开发者_如何学JAVAion format dd/MM/yyyy)

Thanks in advance.


Updating the actual system time has to be done via P/Invoke. MSDN has an article on it. Changing the date format woudl require P/Invoking SetLocaleInfo, probably with the LOCALE_STIMEFORMAT LCTYPE.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜