Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Convert Number to HH24:MI:SS

sliderrulesJul 24 2013 — edited Jul 24 2013

Hi,

I am using oracle database version 11.2.1 and would like to convert a number in minutes to date format HH24:MI:SS

I am using the following syntax but this does not include seconds, returns format HH24:MI

select FLOOR (165.44 / 60) || ':' || TO_CHAR (MOD (165.44, 60), 'FM00')

from dual

Is it possible to add seconds HH24:MI:SS?

This post has been answered by Karthick2003 on Jul 24 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 21 2013
Added on Jul 24 2013
11 comments
3,923 views