Exceljet

Quick, clean, and to the point

Excel SECOND Function

Excel SECOND function
Summary 

The Excel SECOND function returns the second component of a time as a number between 0-59. For example, with a time of 9:10:15 AM, second will return 15. You can use the SECOND function to extract the second into a cell, or feed the result into another formula, like the TIME function.

Purpose 
Get the Second as a number (0-59) from a Time
Return value 
A number between 0 and 59
Syntax 
=SECOND (serial_number)
Arguments 
  • serial_number - A valid time in a format Excel recognizes.
Usage notes 

Times can be supplied as text (e.g. "7:45 PM") or as decimal numbers (e.g. 0.5, which equals 12:00 PM).

Excel stores dates and times as serial numbers. For example, the date Jan 1, 2000 12:00 PM is equal to the serial number 32526.5 in Excel. To check that Excel is correctly recognizing a date or time, you can temporarily format the date as a number.