Converting seconds to hours/minutes/seconds

R

Roger

I need to take a number such as 1800seconds and convert to
01:00:00am, any suggestions
 
M

Max

Maybe one way ..

If in A1: 1800 (figs in seconds)
put in B1: =A1/(60*60*24)
custom format B1 as: h:mm:ss AM/PM

B1 will show as: 12:30:00 AM

Think your post's > 01:00:00am is incorrect,
as 1800 sec = 0.5 hour, not 1 hour
 
R

roger

Tks Max, so simple so hard
-----Original Message-----
Maybe one way ..

If in A1: 1800 (figs in seconds)
put in B1: =A1/(60*60*24)
custom format B1 as: h:mm:ss AM/PM

B1 will show as: 12:30:00 AM

Think your post's > 01:00:00am is incorrect,
as 1800 sec = 0.5 hour, not 1 hour

--
Rgds
Max
xl 97
---
Please respond in thread
xdemechanik <at>yahoo<dot>com
----



.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top