Android Question DateTime Ticks

Giuliano Cucchiarini

Licensed User
Longtime User
From the documentation, I read that Android DateTime returns a Long value indicating the milliseconds from 1/1/1970.

I do not understand the reason why if I set the Number of Ticks to 0 I get the data 1/1/1970 1:0:0
(I was expecting 1/1/1970 0:0:0)

Dim Ticks as long=0

Dim H as int=DateTime.GetHour(t) ' I get 1

Thank You

Giuliano C.