# Day of Month

Returns an integer that represents the day of the month for a specific date.

## Example

```nolang
SELECT OrderDate as "date", EXTRACT (DAY FROM OrderDate) as "day_of_month" FROM "dates_sample_data";
```

| date                | day_of_month |
| ------------------- | ------------ |
| 2015-01-21 15:30:00 | 21           |
| 2015-01-21 00:00:00 | 21           |
| 2015-01-31 10:00:30 | 31           |
| 2015-02-03 15:30:00 | 3            |
| 2016-01-21 23:59:59 | 21           |
| 2015-10-31 23:59:59 | 31           |
| 2015-12-03 00:00:00 | 3            |
| 2016-01-11 03:30:00 | 11           |
| 2016-01-11 03:30:00 | 11           |
