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.

When I work backwards from seconds to hours, I keep getting screwed up on
the days part. Is there an already existing program I can copy that someone
can share before I drive myself nuts? (well, more nuts).

Thanks,

Brian

Reply via email to