Datepicker, select only month and year??

Datepicker, select only month and year??

Hello,
I'm using datepicker to select dates. In some cases, I only need that the user selects the month and year without the day.  I want to show only the header of datepicker with month and year selects.
How can I hide the calendar table of datepicker?