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

* This function returns a number between 0 and 59.
* 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 use the HOUR function to return the hour as an integer given a date serial number.
* You can use the MINUTE function to return the minute as an integer given a date serial number.
* You can use the TIME function to return the time as a decimal given the hour, minute, second.
* You can use the TIMEVALUE function to return the time as a decimal given a time in text format.
* For the Microsoft documentation refer to support.office.com

 AB
1=SECOND(B1) = 1511:30:15
2=SECOND("11:30:15") = 15=NOW() = 18:14:38
3=SECOND(B2) = 38=NOW() = 43754.760
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("12:00:10 PM") = 10 
9=SECOND(-10) = #NUM! 
10=SECOND("some text") = #VALUE! 


© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top