Hi guys,
DateTime.Time(DateTime.Now is showing the time now,
How can I do something (Log("OFF")) if time is for example > 22:00 ?
it is my try
also I need to remove seconds just want to see hour and minutes
thnaks
DateTime.Time(DateTime.Now is showing the time now,
How can I do something (Log("OFF")) if time is for example > 22:00 ?
it is my try
also I need to remove seconds just want to see hour and minutes
B4X:
ButtonTimeNow.Text=DateTime.Time(DateTime.Now)
Log(DateTime.TimeZoneOffset)
Log(DateTime.Time(DateTime.Now))
If DateTime.Time(DateTime.Now) > "22:18:00" Then
Log("OFF")
End If
thnaks