PC Review


Reply
Thread Tools Rate Thread

Convert time in number of seconds

 
 
Heera
Guest
Posts: n/a
 
      22nd Aug 2008
Hi,

How can a convert the time into number of seconds.

For Eg

12:30:45 = 45045

Does any one know the formula. I have writen a macro for it but if
there is a formula it will be helpful.

Regards
Heera
 
Reply With Quote
 
 
 
 
David Biddulph
Guest
Posts: n/a
 
      22nd Aug 2008
=A2*24*60*60
or =A2*86400
and format as general or number.

Excel stores time in days, and there are 24 hours in a day, 60 minutes in an
hour, & 60 seconds in a minute.
--
David Biddulph

"Heera" <(E-Mail Removed)> wrote in message
news:72576a68-99ff-4329-a3d0-(E-Mail Removed)...
> Hi,
>
> How can a convert the time into number of seconds.
>
> For Eg
>
> 12:30:45 = 45045
>
> Does any one know the formula. I have writen a macro for it but if
> there is a formula it will be helpful.
>
> Regards
> Heera



 
Reply With Quote
 
Heera
Guest
Posts: n/a
 
      22nd Aug 2008
thank u....it worked perfectly....

You gave me good logic.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert number in to time lenght, minutes and seconds? Bojan Microsoft Excel Misc 3 3rd Nov 2008 07:35 AM
convert time string to number of seconds tony Microsoft C# .NET 4 15th Jun 2006 04:06 PM
How do i convert a number of seconds to a date/time? =?Utf-8?B?TWFyZ28=?= Microsoft Excel Worksheet Functions 2 5th Jan 2005 12:09 AM
convert a number of seconds to HH:MM:SS? Steff_DK Microsoft Excel Programming 2 18th Jun 2004 10:42 PM
convert number of seconds to date gordon_conroy Microsoft Excel Misc 5 29th Jan 2004 06:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:20 AM.