Dim ph As Phone
Dim Time12_24 As String = ph.GetSettings("time_12_24")
Dim SystemTime As String
DateTime.TimeFormat = "hh:mm"
SystemTime = DateTime.Time(DateTime.Now)
Log(SystemTime)
If Time12_24 = "24" Then
If SystemTime = "13:00" then
' Coding goes here.
End If
Else
If SystemTime = "01:00"
' Coding goes here.
End If
End If
Dim ph As Phone
Dim Time12_24 As String = ph.GetSettings("time_12_24")
Dim SystemTime As String
DateTime.TimeFormat = "hh:mm"
SystemTime = DateTime.Time(DateTime.Now)
Log(SystemTime)
If Time12_24 = "24" Then
If SystemTime = "13:00" then
' Coding goes here.
End If
Else
If SystemTime = "01:00"
' Coding goes here.
End If
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.