> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# Second

The **Second** function returns an integer representing the second component of a specified date and time.

## Syntax

`Second(date)`

Function arguments:

* **date** (required) - the date or column containing date values from which the second component is extracted

## Example

`Second(Date("2007-08-14 07:11:05"))`

Extracts the second component from the specified date and time and returns `5` to represent five seconds into the eleventh minute of the hour.

## Related resources

* [DatePart](/docs/datepart)
* [Minute](/docs/minute)
* [Month](/docs/month)
* [Quarter](/docs/quarter)
* [Year](/docs/year)
* <a href="https://quickstarts.sigmacomputing.com/guide/common_date_functions/index.html" target="_blank" rel="noopener noreferrer">
    Quickstart: Common date functions and use cases
  </a>