I'm trying to set the timezone for an aplication that is supposed to run in .net compact framework and i'm getting a little bit o trouble to get it right.
I want to set it to GMT Standard Time but for some reason i keep getting the Monrovia, Reyqjavik Timezone:
Here is my code (Im using Opennet class):
Dim TZC As New TimeZoneCollection
TZC.Initialize(0)
For Each tzi As TimeZoneInformation In TZC
If tzi.StandardName = "GMT Standard Time" Then
Application.DoEvents()
DateTimeHelper.SetTimeZoneInformation(tzi)
Exit For
End If
Next
For some reason it keeps setting it to Monrovia instead of London Timezone
Can anyone help? Thanks!