Leading the way in Microsoft Office Development
 Home|Excel|Word|PowerPoint|Consultancy|Feedback|Contact 
 Microsoft Excel > Functions > Date and Time > SECOND

 

SECOND(serial_number)

 
 Returns the number of seconds as an integer given a date serial number.

 serial_numberThe time that contains the seconds you want to find.

 REMARKS
 
  • The "serial_number" can be a time, value, cell reference or a text string in a time format.
     
  • Times may be entered as text strings within quotation marks, as decimal numbers or as results of other formulas or functions.
     
  • If "serial_number" < 0, then #NUM! is returned.
     
  • If "serial_number" is not a valid time or date, then #VALUE! is returned.
     
  • You can obtain the serial number from a time by using the TIME() function.
     
  • You can use the TIMEVALUE() function to return the serial number representing a time in a text format.

     EXAMPLES
     
     AB
    1=SECOND(B1) = 1511:30:15
    2=SECOND("11:30:15") = 15=NOW() = 20:17:34
    3=SECOND(B2) = 34=NOW() = 39294.846
    4=SECOND(0.678) = 19 
    5=SECOND(TIME(15,10,55)) = 55 
    6=SECOND(TIMEVALUE("6:45:22 PM")) = 22 
    7=SECOND(0) = 0 
    8=SECOND(-10) = #NUM! 
    9=SECOND("some text") = #VALUE! 
     

     Functions - S | Index - S | Dates & Times | Office Online 

     Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved.Top