Hello,
I am absolutely doing something wrong. I want to take the minute and second difference between the click of 2 buttons.
for the first button :
dim time1 as long =DateTime.Time(DateTime.Now)
for the second button :
dim time2 as long =DateTime.Time(DateTime.Now)
time1 and time 2 are correct , it displays with this format : 17:09:39 , but this gives 0 :
Log(DateUtils.PeriodBetween(time1,time2))
The time now is: 17:21:29
The time now is: 17:21:34
[IsInitialized=1, Years=0, Months=0
, Days=0, Hours=0, Minutes=0
, Seconds=0]
as it must give 0 minutes and 5 seconds. I am doing a very simple mistake somewhere but datetuils topic is not so detailed so i cant get it. Can you help out ? thanks