I need to figure how much time passed between 2 times. For example:
(14:00:00 – 13:15:00) * 24 = .75
I need this to later on convert KW to KWh, but that’s not the point.
I can not find out how to do this in PL/SQL.
My date/time fields look like this in the DB:
1/23/2010 21:00:00
I would appreciate any suggestions.
Steve
If you are using 9i above does this give you the expected result?
Extract is detailed here
and numtodsinterval is detailed here