---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# Date.prototype.getDate()

The **`getDate()`** method returns the day of the month for the
specified date according to local time.

## Syntax

```js
getDate()
```

### Return value

An integer number, between 1 and 31, representing the day of the month for the given
date according to local time.
