Hi ,
I have 2 objects: Time-start (HH:MM) en Time-end
Now, I need to know the seconds or minutes between these 2.
Any ideas (Oracle)?
thanks,
Lia
Lia (BOB member since 2004-08-24)
Hi ,
I have 2 objects: Time-start (HH:MM) en Time-end
Now, I need to know the seconds or minutes between these 2.
Any ideas (Oracle)?
thanks,
Lia
Lia (BOB member since 2004-08-24)
Perhaps this helps:
http://asktom.oracle.com/~tkyte/Misc/DateDiff.html
or this if you’re coming from sql server
http://www.sql-ref.com/
Regards,
Gerard
highandstoned (BOB member since 2005-08-01)
A search on BOB could also be helpfull. Check https://bobj-board.org/t/14563 or https://bobj-board.org/t/48247.
jobjoris (BOB member since 2004-06-30)
so the general consensus is: search before you post
or is your object not a datetime type ?
regards,
Gerard
highandstoned (BOB member since 2005-08-01)
Character… lenght = 4
lia
Lia (BOB member since 2004-08-24)
Still, if you did a little search on BOB you could for instance have run into https://bobj-board.org/t/21735. This should get you on the right track.
jobjoris (BOB member since 2004-06-30)
datetime’s stored in text…and just hh:mm…nice if you run over a day limit…what’s the world going to…
Well follow the work jobjoris has done for you…and if you have any problems after that, feel free to post your problem…
Regards,
Gerard
BTW: nice to have an all dutch post…
highandstoned (BOB member since 2005-08-01)
Well, since the thread posts were all made between about midnight and 6am my time, it’s probably due to time zone!
Anita Craig (BOB member since 2002-06-17)