> For the complete documentation index, see [llms.txt](https://tedirghazali.gitbook.io/algajs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tedirghazali.gitbook.io/algajs/date/usddate.calendar.md).

# $date.calendar

Calendar method of date helpers

Calendar method is different from daysInMonth method, calendar method return array only with all the day names and all the date in one month combine, also, include the remaining date from previous month and next month.

```
$date.calendar(2021, 4)
//=> ['Sunday', ..., '2021-3-28', ..., '2021-4-1', ...,
// '2021-4-30', '2021-5-1']

// UTC version
$date.calendarUTC(2021, 4)
```
