On 1/4/2012 8:20 PM, Shane wrote:
In another world, you could simply use the date command to do similar
(convert to seconds from epoch and subtract). KISS.
Maybe LE (of which I know not much at all) has something similar.
I'm sure Steve will bob up with a course that has this as part of the
curriculum .... ;-)
http://www.trainersfriend.com/Language_Environment_courses/m512descr.htm
Shane ...
On Wed, 4 Jan 2012 21:21:51 -0500 Brian Westerman wrote:
Hi,
I have a module that I created many years ago that computes the
number of days between two dates, but I have been asked if there is a
way to expand it to compute the total time between the two dates as
well (if supplied with the HH:MM:SS as well).
In the past I have always calculated elapsed time via starting with
the STCK times, subtracting them and then converting them to a
readable format, but in this case I have the fields already as
start-MM/DD/YY HH:MM:SS end-MM/DD/YY HH:MM:SS.
--
Kind regards,
-Steve Comstock
The Trainer's Friend, Inc.
303-355-2752
http://www.trainersfriend.com
* To get a good Return on your Investment, first make an investment!
+ Training your people is an excellent investment
* Try our tool for calculating your Return On Investment
for training dollars at
http://www.trainersfriend.com/ROI/roi.html