|
I have the ntp time package. How can I set the zime zone on a wince 5.0 device to GMT in VB? |
|
The NTP protocol does not deal with time zones at all. This is why the current version of Rebex Time component includes no such functionality as well. Fortunatelly settings of time zone should be quite easy.
Please note that .NET CF loads the TimeZoneInformation into the AppDomain during creation. You may need to restart your app after setting the time zone. For details see P/Invoking SetTimezoneInformation() causes DateTime.Now to return an incorrect local time If you need an actual VB.NET code for P/Invoking |