> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/date-time/week.md).

# WEEK

WEEK( `date` )

Returns the week of the year for the given date or array of dates. Week is given as an integer, ranging from 1 to 53.

### Arguments

| Argument       | Description                                                   |
| -------------- | ------------------------------------------------------------- |
| `date`         | Date/time value(s)                                            |
| `partial week` | Allow partial weeks \[True/False]. Optional; default is True. |

### Output

Week of the year for each input `date`

### Example

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