Accessing calendar instance current date


I’m trying to do something that probably has an obvious answer but I’m not finding it.

When I click the navigation arrows in the calendar instance header I want to log what day the calendar is currently showing. So if I’m in the timeline view on October 15th and I click the previous day chevron arrow, I want to log be able to access that the calendar is currently showing data for October 14.

Similarly, I want to log what week or month the current calendar is showing for those views. Is there a way to access the date range for the calendar’s current view?

Hi @FourForces :wave:

Sure, you can solve that with the onPageChange event from which you can get the first day and last day of the displayed page and the month if it’s set to month view.