Time difference calculation
Posted: 16 May 2013 11:28
Hi,
Want to calculate the time difference between triggertime and a previous triggertime that is saved to a global variable.
I see that triggertime does contain a timestamp but also other "readable" date and time info.
If I can just extract the timestamp alone I assume I could just subtract the two and have the millisecond difference.
How do I get the timestamp from the triggertime variable?
Thanks!
Want to calculate the time difference between triggertime and a previous triggertime that is saved to a global variable.
I see that triggertime does contain a timestamp but also other "readable" date and time info.
If I can just extract the timestamp alone I assume I could just subtract the two and have the millisecond difference.
How do I get the timestamp from the triggertime variable?
Thanks!