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

# 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
