Not getting scheduler.date.get_month_end from scheduler

Hi,

I have a doubt. I am trying to get the start and end dates of month view using the following API
var d = scheduler.date.month_start(date);
var e = scheduler.date.get_month_end(d);

I am getting the start date but the end date is not working. I am getting the following error:

TypeError: scheduler.date.get_month_end is not a function

Please help.

You can use

var end = scheduler.date.add(start, "1", "month");

Or just uset getState API
docs.dhtmlx.com/scheduler/api__s … state.html
It provides the min_date and max_date parameters for the current view