Time Stamp

Chris Gassett CGassett@spectra-inc.com
Mon, 28 Feb 2000 10:40:08 -0500


Anyone know how to quickly and efficiently get the number of hours and
minutes passed between a starting and ending time stamp using Quick?

The user would enter a field and then update the record.  Sometime in the
near future the record would be accessed, another field would be inputed,
and then the record would be updated again.

PROCEDURE PROCESS INPUTED_FIELD
BEGIN
  LET TIME_START = ASCII(SYSDATE) + ASCII(SYSTIME)
END

PROCEDURE PROCESS OTHER INPUTED_FIELD
BEGIN
  LET TIME_END = ASCII(SYSDATE) + ASCII(SYSTIME)
  LET ELAPSED_TIME = TIME_END - TIME_START
END

I need to measure the amount of time between the two updates.


Powerhouse Version 733d3
Running on an HP9000

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.