S sunnyboyj Member Feb 7, 2008 #1 I have two times in my application: lasttime.text time.text I want to deduct these two time and put them in differencetime.text if i do it like this I get an error, what am I doing wrong? differencetime.text=time.text-lasttime.text Thanks! Jorrit.
I have two times in my application: lasttime.text time.text I want to deduct these two time and put them in differencetime.text if i do it like this I get an error, what am I doing wrong? differencetime.text=time.text-lasttime.text Thanks! Jorrit.
Erel B4X founder Staff member Licensed User Longtime User Feb 7, 2008 #2 You should first convert the time strings to Ticks. See the Date & Time tutorial: http://www.b4x.com/forum/showthread.php?t=894
You should first convert the time strings to Ticks. See the Date & Time tutorial: http://www.b4x.com/forum/showthread.php?t=894