Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
rustyfishbones
Master II
Master II

Using TRACE to capture the Elapsed Reload time

I want to use TRACE to get the RELOAD start time and the RELOAD finish time

I then want to add a text box to show the Elapsed time of the RELOAD

start time - finish time = duration of reload

I know it's possible, but I cannot get it to work for me

1 Solution

Accepted Solutions
Not applicable

You would have to place the " LET FinRecarga = now(); " at the end of the script in order to get the last execution time of the script. If your script takes miliseconds to execute, then it will be almost the same time for both variables.

View solution in original post

5 Replies
Not applicable

You can use the now function in the script:

LET InicioRecarga = now();

LET FinRecarga = now();

Then use those variables to get the elapsed time.

rustyfishbones
Master II
Master II
Author

Hi Carlos,

That gives me the same time for both

so the duration will always be 0

I am looking for something like this

duration.png

Not applicable

You would have to place the " LET FinRecarga = now(); " at the end of the script in order to get the last execution time of the script. If your script takes miliseconds to execute, then it will be almost the same time for both variables.

rustyfishbones
Master II
Master II
Author

Yes that worked

I had both in the main sheet

Thanks a lot Carlos

prasadmundewadi
Contributor III
Contributor III

How do you find the difference between the 2 timestamps?