SECOND function: Description, Usage, Syntax, Examples and Explanation
What is SECOND function in Excel?
SECOND function is one of Date and Time functions in Microsoft Excel that returns the seconds of a time value. The second is given as an integer in the range 0 (zero) to 59.
Syntax of SECOND function
SECOND(serial_number)
The SECOND function syntax has the following arguments:
- Serial_number Required. The time that contains the seconds you want to find. Times may be entered as text strings within quotation marks (for example, “6:45 PM”), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE(“6:45 PM”)).
SECOND formula explanation
Time values are a portion of a date value and represented by a decimal number (for example, 12:00 PM is represented as 0.5 because it is half of a day).
Example of SECOND function
Steps to follow:
1. Open a new Excel worksheet.
2. Copy data in the following table below and paste it in cell A1
Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.
You can adjust the column widths to see all the data, if need be.
Data | ||
Time | ||
4:48:18 PM | ||
4:48 PM | ||
Formula | Description | Result |
=SECOND(A3) | Seconds in the first time (18) | 18 |
=SECOND(A4) | Seconds in the second time (0) |