This post will guide you how to use Google Sheets SECOND function with syntax and examples.
Description
The Google Sheets SECOND function returns the seconds of a time value. Or returns an integer value that represent the second component of a given excel time. And the return value is between 059.
For example, if you pass a time of 6:32:54 PM into SECOND function, and it will return 54. You can use this function to extract the second component from a time value.
The SECOND function can be used to get the second component of a given time in google sheets. The purpose of this function is to get the second as a number from a time and its returned values is a number that representing time. You can use the SECOND function to extract the second into a cell or you can also pass the result into another function as a new formula.
The SECOND function is a buildin function in Google Sheets and it is categorized as a Date function.
Syntax
The syntax of the SECOND function is as below:
=SECOND (Time )
Where the SECOND function arguments is:

Time This is a required argument. The time from which you want to extract the second component. it may be typed as text string within quotation marks (for example, “13:52 PM”), or it can be a decimal numbers (for example, 0.5), or the result of a formula (for example, TIMEVALUE(“13.54:30 PM”)). It must be a cell reference that containing a date or time, or a function that returning a date/time type or a number.
Note:
 A serial date is how the google sheets stores dates and times and it represents the number of days since 19000101, so the January 1, 1900 date is serial number 1 by default.
 If the
Time
argument is not a valid time, it will return #VALUE! Error.

Time
argument can be supplied to the SECOND function as a time text string or as a decimal number. If you wish to create a time value with separate hour, minute and second, you can use the TIME function.
Google Sheets SECOND Function Examples
The below examples will show you how to use google sheets SECOND Function to return the seconds of a given time value.
1# get the seconds from an Excel time 6:38:45, enter the following formula in Cell B1.
=SECOND("6:38:45")
2# Get the second portion of the date with no second portion specified, enter the following formula in Cell B3.
=SECOND("6:38")
or
=SECOND(TIMEVALUE("6:38 PM"))
It will return 0.
Related Posts
Add Minutes to Time in Google Sheets
Adding whole hours or decimal minutes to a given time in google sheets is a fairly simple process. You can do this by using the Start_time+TIME(0,minutes,0) and Start_time+minutes/1440 functions. In this add minutes to time guide, we will show you ...
Add Hours to Time in Google Sheets
Adding whole hours or decimal hours to a given time in Google Sheets is a fairly simple process. You can do this by using the Start_time+TIME(hours,0,0) and Start_time+hours/24 functions. In this add hours to time guide, we will show you ...
Google Sheets EVEN Function
This post will guide you how to use Google Sheets EVEN function with syntax and examples. Description The Google Sheets EVEN function rounds a given number up to the nearest even integer. You can use the EVEN function to return ...
Google Sheets COUNTBLANK Function
This post will guide you how to use Google Sheets COUNTBLANK function with syntax and examples. Description The Google Sheets COUNTBLANK function use to count the number of empty cells in a range of cells. You can use the COUNTBLANK ...
Google Sheets DEGREES Function
This post will guide you how to use Google Sheets DEGREES function with syntax and examples. Description The Google Sheets DEGREES function converts radians into degrees. And it will return a numeric value. For examples, if you pass the PI() function into ...
Google Sheets COSH Function
This post will guide you how to use Google Sheets COSH function with syntax and examples. Description The Google Sheets COSH function returns the hyperbolic cosine of a given angle. The purpose of this function is used to get hyperbolic ...
Google Sheets COS Function
This post will guide you how to use Google Sheets COS function with syntax and examples. Description The Google Sheets COS function returns the cosine of a given angle. If you want to supply an angle to COS function in ...
Google Sheets COMBINA Function
This post will guide you how to use Google Sheets COMBINA function with syntax and examples. Description The Google Sheets COMBINA function returns the number of combinations for a given number of items and it includes repetitions. You can use ...
Google Sheets COMBIN Function
This post will guide you how to use Google Sheets COMBIN function with syntax and examples. Description The Google Sheets COMBIN function returns the number of combinations for a given number of items. And you can use the COMBIN function ...
Google Sheets CEILING.PRECISE Function
This post will guide you how to use Google Sheets CEILING.PRECISE function with syntax and examples. Description The Google Sheets CEILING.PRECISE function returns a given number rounded up to the nearest multiple of a given number of significance or returns ...