// Determine the number of seconds required to do a task:
// 1. Get the starting timestamp
// 2. Do the task
// 3. Calculate the difference between the current
// timestamp and the starting timestamp

start_time = %timestamp();
process();
time_taken = %DIFF (%timestamp() : start_time : *SECONDS);

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=%2Fbooks_web%2Fc0925086579.htm



On 8/9/2012 12:19 PM, Robert Munday wrote:
Greetings from sunny Ohio.


I don't have my usual reference books with me on this trip so I need some assistance.

I have to find the difference between two time values in free format. %Diff doesn't work. What does?

Thanks,



Robert Munday
Munday Software Consultants
Montgomery, AL
on assignment in Columbus, OH




This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.