PL/SQL time segment calculation
Posted
by Steve
on Stack Overflow
See other posts from Stack Overflow
or by Steve
Published on 2010-05-05T19:37:54Z
Indexed on
2010/05/05
20:18 UTC
Read the original article
Hit count: 266
Hi,
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
© Stack Overflow or respective owner