Hello,
Does anyone have a calculation and/or MEL that would calculate "total time"?
I have a start button and a end button. Is there any way to get a total time?
Thank you in advance,
Kathy
If you are only interested minutes, then TIMESTAMP() with return current time in format hh:mm . You then need to parse out the data to calculate minutes. The elapsed time is then the difference between the minutes.
If you need more accuracy, use getprocessclock(). This returns the number of milliseconds since the user logged on. One then needs to calculate the difference in milliseconds, convert to seconds.
Both of these MEL symbols are described in the Help files.
Hi Kathy, this is relatively easy to accomplish with an HTML form using JavaScript. You can even see a running timer after you click the start button. If you are interested in exploring this option, I’d be happy to assist. If not, then I would recommend the solution proposed by jfitzmd. Just shoot me an email if you have any interest.
Cheers,
Greg