Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
1 - How can i get current reload time (not last reload time)
2 - How can i get last reload time of other QVW
Hi.
reloadtime()
If you want how much time per reload, set a variable vStartTime = now(); at the beginning of your script and vEndingTime = now(); at the end of your script. Then vEndingTime - vStartTime will give you the time.
To set it to last or previous make a variables change at the very beginning.
reloadtime() gives last reload time
now() keeps on moving like a clock
What do you mean with "current reload time"?
If I press reload at 6:01 and last reload time was 5:01. it should be 6:01
Ok.
In your var panel set vTIME = reloadtime()
at the beginning of your script say vPreviousTIME = vTIME. Every time you execute the reload, the previous reload time will pass to the var vPreviousTIME and vTIME will become the new reloadtime().
Ok, then last reload time was 5:01 according to your server time... ...then just add an hour to adjust for different server time related to your local time.
Hi,
now(0) returns at every moment the time of reload. Can be used in any object like a text box if needed.
The default of now is 1, meaning that the time returned is when the function is called.
Fabrice