Returns the seconds component from a time value.
The Excel SECOND function returns the second component (a number from 0 to 59) of the corresponding time. For example, with a time of 6:48:15 PM or text (e.g. “6:48:15 PM”), the SECOND function will return ‘15’.
serial_number – A valid argument of time, string representation or a serial number of a specific time recognized by Excel.
An Integer between 0 and 59 (specific seconds in an hour).
- Time value in the function may be entered in time, text and serial number format in the specific cell of the worksheet.
- Time is stored as a serial number in Excel, a number from 0 (12:00:00 AM) to 0.999988426 (11.59:59 PM).
- Like SECOND(0.6565) = 24*.65 = 15.756, return as .756*60 (minutes) = 45.36 and further calculate seconds we further drill down 0.36*60 (seconds) =21.6. The return value in Excel would be 22.
- Use MINUTE and HOUR functions to return other two components of Timestamp.