JavaScript Event calendar Week and Month View

The calendar view supports variable weeks. Save space by only displaying one or two weeks or go for a full month where it makes sense. Use the type and size properties of the view option to set the size of the month or week view.

You can also set the first day of the week using the firstDay option, where Sunday is 0, Monday is 1, etc.

To display only part of the week, for example the work days from Monday to Friday, use the startDay and endDay properties of the calendar view. Days outside of this range are not displayed, and each calendar row starts with the startDay. Don't mistake startDay for the firstDay option: the weeks still start with firstDay. If the visible range wraps around the first day of the week (e.g. Saturday to Tuesday, with Sunday as the first day), set firstDay to the value of startDay, otherwise the first visible days of a month can be left out.

Download and try example

Demo

Configure month or week view
Month view
Week view
weeks
Set the first day of week to
Display days from to
mobiscroll.eventcalendar('#calendar', {
    firstDay: 1,
    view: {
        calendar:
            {
                labels: true,
                type: 'week',
                size: 2,
                startDay: 0,
                endDay: 6
            }
        }
});
Show events in the event calendar with switchable week and month views, 1 to 3 week layouts and a locale-aware or fixed week start.

Duplicate Session

You have signed in on a different machine. To keep everything in sync, you have been signed out of this session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.

Duplicate Session

We noticed you are logged in on a different machine and have closed your old session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.