Microsoft® Excel® 2010 Formulas & Functions Inside Out
by Helmut Reinke Egbert Jeschke Sara Unverhau, Eckehard Pfeifer, Bodo Fienitz, and Jens Bock
SECOND()
Syntax. SECOND(serial_number)
Definition. This function extracts the seconds from a serial number (a time with or without a date). The second is returned as an integer from 0 through 59.
Arguments
serial_number (required). A valid time (and a date, if applicable).
Background. With this function, as with the HOUR() and MINUTE() functions, you can extract a valid time to use its components for other calculations.
You can enter times as strings enclosed in quotation marks (as in “06:43”), as decimal numbers (as in 0.27986111 for 06:43), or as a result of other formulas and functions.
Examples. The following are examples where the function SECOND() extracts seconds from a date/time value:
=SECOND("07/13/2008 20:48:31")returns31.=SECOND("06:43:12") ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access