# getDate

> FullCalendar v3 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v3/getDate
>
> Latest version (v7): https://fullcalendar.io/docs/Calendar-getDate.md

Returns a [Moment](https://legacy.fullcalendar.io/v3/moment.md) for the current date of the calendar.

<div class='spec' markdown='1'>
.fullCalendar( 'getDate' ) -> Moment
</div>

For month view, it will always be sometime between the first and last day of the month. For week views, it will always be sometime between the first and last day of the week.

Example of displaying a calendar's current date when a button is clicked:

```js
$('#my-button').click(function() {
  var moment = $('#calendar').fullCalendar('getDate');
  alert("The current date of the calendar is " + moment.format());
});
```
