---
title: Calendar::getDate
type: method
---

Returns a [Date](date-object) for the current date of the calendar.

<div class='spec'>

calendar.getDate() -> [Date](date-object)

</div>

For month view, it will always be some time 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
document.getElementById('my-button').addEventListener('click', function() {
  var date = calendar.getDate();
  alert("The current date of the calendar is " + date.toISOString());
});
```
