I've run into a problem with an app of mine since daylight saving came into effect overnight. I've done a few tests and the following code gives weird results:
Test1 now contains "17:10" and Test2 now contains "23:00".
Why does Test2 contain "23:00" when it should contain "00:00" ?
Why aren't they either both wrong or both right?
Thanks,
Richard
B4X:
Dim test1 As String = "17:10"
test1 = DateTime.Time(DateTime.TimeParse(test1))
Dim test2 As String = "00:00"
test2 = DateTime.Time(DateTime.TimeParse(test2))
Test1 now contains "17:10" and Test2 now contains "23:00".
Why does Test2 contain "23:00" when it should contain "00:00" ?
Why aren't they either both wrong or both right?
Thanks,
Richard