convert to working hours: minutes : seconds (netsuite Data)

Posted on 2013-02-04
Medium Priority
Last Modified: 2013-02-06
I get data from a crm called Netsuite:

all is good apart from Time to close:

it returns data (via a web query)



0.024031119 = 34 mins. 36 secs.      
0.109186322 = 2 hrs. 37 mins.      

i need it as hours: mins: secs
Question by:James Murrell
LVL 24

Accepted Solution

Steve earned 2000 total points
ID: 38852509
well... you can use:


or just apply hh:mm:ss to the cell format
LVL 52

Expert Comment

by:Mark Wills
ID: 38858132
Here you go... It is simply the floating point number for time...

select convert(datetime,0.024031119)

oh dang.... it is not SQL...

Best to format the cell as a time as The_Barman has already done (except use the 24 hour format, not the AM/PM one)

(and just saw your update via linked in, so thought I would post something here, but The_Barman has your answer for you :) )
LVL 31

Author Closing Comment

by:James Murrell
ID: 38858514
Thanks - simple thing, that i forgot... big thanks

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
What to do if a split doesn't fit? Or a bunch of invoice lines must be rounded while the sum must match a total? It takes a little, but - when done - it is extremely easy to implement.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question