开发者

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

开发者 https://www.devze.com 2023-01-16 05:26 出处:网络
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)

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

精彩评论

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