472,108 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,108 software developers and data experts.

Setting timezone in Windows CE4.0 .NET1.1

50
Hello,

I'm looking for a way to set the timezone on a mobile (windows CE4.0). I know there is no specific function in .NET1.1 and by looking on pinvoke.net: HomePage (misc) between coredll I understand that there is no API function to do the trick.

The scenario is the following: I have a server which sends out his dateTime information using the following format "yyyyMMdd zzz" . This returns the date + timezone. This reaches the mobile as a string. There I try to parse it exactly back to this format. The problem is that it doesn't save the timezone. It takes the timezone on the mobile device.

What would be the best way to sync the timezone on the mobile device with the timezone on the server?

Kind regards,
Sven
Jan 20 '09 #1
2 3223
Plater
7,872 Expert 4TB
Do you have the date command (open up a command window on the device and type it) available to you? You could just run that command. It takes the format MM-dd-yyyy
Jan 20 '09 #2
markmcgookin
648 Expert 512MB
What about the setTimeZone function?

SetTimeZoneInformation Function (Windows)
Jan 21 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Raj Chudasama | last post: by
reply views Thread by jrhastings | last post: by
3 posts views Thread by mac11 | last post: by
2 posts views Thread by Paul Sijben | last post: by
6 posts views Thread by jehugaleahsa | last post: by
reply views Thread by AqD | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.