Use the following code to get the scrollbar position as DateTime (server side) in the Scheduler.
You can get the scrollbar position in pixels using ScrollX property:
int scroll = DayPilotScheduler1.ScrollX;
The start DateTime of the first visible cell can be accessed using ViewPort.Start property:
DateTime start = DayPilotScheduler1.ViewPort.Start;
The end DateTime of the last visible cell can be accessed using ViewPort.End property:
DateTime end = DayPilotScheduler1.ViewPort.End;
The ViewPort property is available for both the static and dynamic event loading mode (DynamicLoading property).