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

# Week

Gets the week-of-year number of a date \ datetime

```mathematica
Week("2023-11-04 05:19:58.000") → 44
Week("2018-01-29") → 5
```

#### Inputs

`Week(dateTime)`

* `dateTime` - Date, time, or datetime value
