JOTHA Well-Known Member Licensed User Longtime User Jul 19, 2011 #1 Hello Forum, I need "Ticks As Long" for a Timestamp-ID. Does somebody know how to get "Ticks As Long" as a number? I tried several times but I always got a Date, a Time, or an Error-Message.
Hello Forum, I need "Ticks As Long" for a Timestamp-ID. Does somebody know how to get "Ticks As Long" as a number? I tried several times but I always got a Date, a Time, or an Error-Message.
Cableguy Expert Licensed User Longtime User Jul 19, 2011 #2 Ticks are Long by default, what exactly do you need to do? ie: to get the current time ticks value, just use B4X: a=datetime.now or to get the ticks of a particular date just use B4X: a=datetime.dateparse("20/12/2000") Last edited: Jul 19, 2011 Upvote 0
Ticks are Long by default, what exactly do you need to do? ie: to get the current time ticks value, just use B4X: a=datetime.now or to get the ticks of a particular date just use B4X: a=datetime.dateparse("20/12/2000")
JOTHA Well-Known Member Licensed User Longtime User Jul 19, 2011 #3 Hi Cableguy, Cableguy said: ie: to get the current time ticks value, just use B4X: a=datetime.now Click to expand... ... this is exactly what I needed! I tried always a=DateTime(Now), that was wrong! THANK YOU for your very fast help! Upvote 0
Hi Cableguy, Cableguy said: ie: to get the current time ticks value, just use B4X: a=datetime.now Click to expand... ... this is exactly what I needed! I tried always a=DateTime(Now), that was wrong! THANK YOU for your very fast help!