# QUARTER() Function

### Description

Extracts the quarter (1-4) from a date

### Syntax

```sql
QUARTER(date)
```

### Parameters

| Parameter | Description | Data Type | Required |
| --- | --- | --- | --- |
| _date_ | Date value | Date or timestamp | Yes |

### Example

```sql
SELECT
    QUARTER(col)
FROM
    rippling.employee.Employee
LIMIT
    5;
```

Source: https://developer.rippling.com/documentation/rippling-platform/transformations/sql-reference/quarter

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
