# DAYOFWEEK() Function

### Description

Returns the ISO day of the week (1=Monday through 7=Sunday)

| Return Value | Day of the Week |
| --- | --- |
| 1 | Monday |
| 2 | Tuesday |
| 3 | Wednesday |
| 4 | Thursday |
| 5 | Friday |
| 6 | Saturday |
| 7 | Sunday |

**Aliases:** `DAY_OF_WEEK`, `DAYOFWEEK_ISO` — equivalent spellings; same function and parameters.

### Syntax

```sql
DAYOFWEEK(date)
```

### Parameters

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

### Example

```sql
SELECT
    DAYOFWEEK(start_date)
FROM
    rippling.employee.Employee
LIMIT
    5;
```

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

> 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.
