> 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/quarter.md).

# Quarter

Gets the quarter number of a date \ datetime

```mathematica
Quarter("2023-11-04 05:19:58.000") → 4
Quarter("2018-01-29") → 1
```

#### Inputs

`Quarter(dateTime)`

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