Back to Functions

SECOND

Returns the second component of a specific time, in numeric format.

DateSECOND(time)

The SECOND function in Google Sheets extracts the seconds component from a given time value, returning a number between 0 and 59. It's a simple way to break time values down into their individual parts. Dive into our comprehensive guide to master its application.

Parameters

  • time: The time value from which to extract the seconds component.

Step-by-Step Tutorial

  1. Extracting seconds from a time value:

    • Example: =SECOND("6:45:30 PM")
    • Result: 30
  2. Extracting seconds from a cell reference:

    • Example: If A1 contains a timestamp of 2:15:09 AM, then =SECOND(A1) returns 9.

Use Cases and Scenarios

  1. Time Tracking: Break down logged timestamps into hours, minutes, and seconds for detailed reporting.
  2. Data Cleaning: Extract and validate the seconds portion of imported time data.
  3. Scheduling Tools: Build custom time-based calculations that depend on second-level precision.

Related Functions

  • HOUR: Returns the hour component of a specific time.
  • MINUTE: Returns the minute component of a specific time.
  • TIME: Converts hour, minute, and second into a time value.

Related Articles

Newsletter

More SECOND examples coming soon.

We are building short, practical updates for Sheets power users.