# Month View

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

Month view displays the current month's days, and usually a few days of the previous and next months, in a table-like format. It's technically considered "dayGridMonth" view and is part of the [DayGrid plugin](https://legacy.fullcalendar.io/v4/daygrid-view.md). It can be initialized in an [ES6 setup](https://legacy.fullcalendar.io/v4/initialize-es6.md) like so:

```js
import { Calendar } from '@fullcalendar/core';
import dayGridPlugin from '@fullcalendar/daygrid';
...
let calendar = new Calendar(calendarEl, {
  plugins: [ dayGridPlugin ],
  defaultView: 'dayGridMonth'
});
...
```

Then you'll need to ensure the correct stylesheets are loaded:

```html
<link href='node_modules/@fullcalendar/core/main.css' rel='stylesheet' />
<link href='node_modules/@fullcalendar/daygrid/main.css' rel='stylesheet' />
```

Or you can choose to initialized Month view [entirely with script tags](https://legacy.fullcalendar.io/v4/initialize-globals.md):

```html
<link href='fullcalendar/core/main.css' rel='stylesheet' />
<link href='fullcalendar/daygrid/main.css' rel='stylesheet' />

<script src='fullcalendar/core/main.js'></script>
<script src='fullcalendar/daygrid/main.js'></script>
<script>
...
var calendar = new FullCalendar.Calendar(calendarEl, {
  plugins: [ 'dayGrid' ],
  defaultView: 'dayGridMonth'
});
...
</script>
```

The following options are specific to month view. However, there are numerous other options throughout the docs that affect the display of month view, such as the [date/time display options](https://legacy.fullcalendar.io/v4/date-display.md) and [locale-related options](https://legacy.fullcalendar.io/v4/localization.md).

## Month-View-specific Options

- [fixedWeekCount](https://legacy.fullcalendar.io/v4/fixedWeekCount.md) - Determines the number of weeks displayed in a month view.
- [showNonCurrentDates](https://legacy.fullcalendar.io/v4/showNonCurrentDates.md) - In month view, whether dates in the previous or next month should be rendered at all.

## Demos

- [Month View](https://legacy.fullcalendar.io/v4/month-view-demo)
