|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
subtracting time in oracle
Hi,
I want to test how long something takes to load. In my table I have a start_time and an end_time in format dd-mon-yyyy hh24:mi:ss. If I want to get the difference in minutes, how would I do that. Ex. start_time = '02-Feb-2004 01:19:02' end_time = '02-Feb-2004 01:19:48' The result should be 46 seconds. When I tried to subtract the time by minutes I got some strange results. Please help. thanks L.Das |
|
#2
|
|||
|
|||
|
(enddate-startdate)/24/60
|
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > subtracting time in oracle |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|