Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert a time field in Oralce to a number

Status
Not open for further replies.

jimmy80

Programmer
May 7, 2003
13
GB
Hi,

I need to convert a time field in the format hh24:mi:ss to a number in the format hhmiss - I have tried using to the to_number function but amn't having any success...
Any chance anyone knows how I can do this?

Thanks for your help,
jim
 
Try, TO_CHAR(<YOUR DATE>, 'hhmiss') though I can't understand how to work with this number :)

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top