Ok, I thought I had it, until I found out that HDIFF is rounding for MINUTE.. The report took 33 seconds to run, but HDIFF is coming back that MINUTE = 1 and SECOND = 33. ???
So when I report the time, I get...
Results Started On: 2015-10-05 13:12:56.171 Finished On: 2015-10-05 13:13:29.660 Total Report Time: 1m -27s
This message has been edited. Last edited by: GavinL,
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
October 05, 2015, 01:26 PM
GavinL
This seems to be working, but this is redonkulous.
-SET &CHKSEC = IF (&CHKSEC-(&CHKMIN*60)) LT 0 THEN (&CHKSEC-((&CHKMIN-1)*60)) ELSE (&CHKSEC-(&CHKMIN*60));
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
October 05, 2015, 02:17 PM
Francis Mariani
This is how I calculate the elapsed time between two Dialogue Manager Date/Time variables. Actually they're two Date and Time pairs of variables, &ST_DATE,&ST_TIME, &EN_DATE,&EN_TIME. This might be overkill...
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
October 06, 2015, 12:19 PM
GavinL
quote:
Check out this post.
Right on.. I attempted to use it, but it looks like I can't run it via console, which is where this will always be ran. I'll play around with it when I get a little more time to make it usable for console.
Thanks.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server