Android Question DateTime.GetHour Bug

German Buchmuller

Member
Licensed User
Hi, I needed to use DateTime. I found a bug I think, since when I do:
B4X:
Log(DateTime.GetSecond(0))
It prints on the log Messages: 0
When i do:
B4X:
Log(DateTime.GetMinute(0))
It prints on the log Messages: 0
However, when I do:
B4X:
Log(DateTime.GetHour(0))
It prints on the log Messages: 21

How is this possible? It should also be 0 right? Thanks
 

aeric

Expert
Licensed User
 
Upvote 0

German Buchmuller

Member
Licensed User
Thanks!
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
It should also be 0 right?
No.

 
Upvote 0
Top