# WEEKDAY

WEEKDAY( `Date` , `Return Type`)

Returns an integer corresponding to the day of the week.

### Arguments

| Argument      | Description                                                                                                                                                                                                                                                                                      |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Date`        | Date/time value(s)                                                                                                                                                                                                                                                                               |
| `Return Type` | <p>Determines calendar week output. </p><p>1: 1 (Sunday) - 7 (Saturday)</p><p>2: 1 (Monday) - 7 (Sunday)</p><p>3: 1 (Tuesday) - 7 (Monday)</p><p>4: 1 (Wednesday) - 7 (Tuesday)</p><p>5: 1 (Thursday) - 7 (Wednesday)</p><p>6: 1 (Friday) - 7 (Thursday)</p><p>7: 1 (Saturday) - 7 (Friday))</p> |

### Output

Day of the week in integer form.

### Example

{% embed url="<https://datawrapper.dwcdn.net/OfOID/1/>" %}
