04-13-2009 08:58 AM
Hi everyone,
My program need to specify time duration from the start to end.
I am wondering if I could use control 'Get Date/Time in seconds' to calculate the time duration between the start and the end. The output of them seems in the format of 'hours' not 'seconds'.
Any idea is appreciated,
Kunsheng
04-13-2009 09:09 AM - edited 04-13-2009 09:10 AM
Hello Kunsheng,
You can use that function with a "To Double Precision Float" function (see below) to get a timestamp in seconds. Just take one at the start and subtract it from a timestamp you take at the end of your program and you will get the total execution time.