> 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/dayofmonth.md). Agents can also search and read this documentation through its [MCP server](https://docs.tabula.io/~gitbook/mcp).

# DayOfMonth

Extracts day from a date \ datetime

```mathematica
DayOfMonth("2019-09-22") → 22
DayOfMonth("2022-03-04") → 4
```

#### Inputs

`DayOfMonth(dateTime)`

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