Hi there..
I want to use slider to move on time... so i ve created slider with max values of 86400 (seconds of day)
I know that ticks per day goes at 86400000 (millions)
So i am calculating *1000..
The code i am using is:
The bad thing is when have 0 value return at textfield 02:00:00 - so i am thinking that may be use zone time..
What to do ? just subtract the time ? or there is a better way to check..
I want to use slider to move on time... so i ve created slider with max values of 86400 (seconds of day)
I know that ticks per day goes at 86400000 (millions)
So i am calculating *1000..
The code i am using is:
B4X:
ttime.Text=DateTime.Time(Value*1000)
'value is from silder
The bad thing is when have 0 value return at textfield 02:00:00 - so i am thinking that may be use zone time..
What to do ? just subtract the time ? or there is a better way to check..