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