Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello oberon.black, Excel only tracks time down to a 1 second interval. The decimal portion of the Time value is the number of seconds from Midnight. There are 86400 seconds in a 24 hour day. The example given is for the worksheet using coulmn "A". A1 contains the value 0.453240. EXAMPLE: 'Time in seconds since Midnight A1 0.453240 'Convert from decimal to integer A2 =A1*100000 'Calculate Hours A3 =INT(A2/3600) 'Calculate Minutes A4 =INT(MOD(A2, 3600)/60) 'Calculate Seconds A5 =MOD(A2, 3600) - (A4*60) Sincerly, Leith Ross -- Leith Ross ------------------------------------------------------------------------ Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465 View this thread: http://www.excelforum.com/showthread...hreadid=492291 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
convert time to decimal | Excel Worksheet Functions | |||
convert time into decimal | New Users to Excel | |||
convert decimal to time | Excel Discussion (Misc queries) | |||
How to convert time to decimal | New Users to Excel | |||
convert decimal number to time : convert 1,59 (minutes, dec) to m | Excel Discussion (Misc queries) |