The visibleStart() method returns the start of the first visible day.
DayPilot.Navigator.visibleStart()This method has no parameters.
Returns a DayPilot.Date object representing the start of the first visible day.
In most cases, this date is different from the first day of the first visible month.
You can use visibleStart() together with DayPilot.Navigator.visibleEnd() to get the visible range and load free/busy data when the view changes.
const nav = new DayPilot.Navigator("nav", {
// ...
});
nav.init();
// ...
const start = nav.visibleStart();