OK, thanks for the update. In the Scheduler, there are two ways to achieve that:
1. You can define the timeline manually by adding individual cells:
https://doc.daypilot.org/scheduler/timeline/
2. You can use an hourly scale and remove the selected timeline cells (hours) using onIncludeTimeCell event handler:
https://doc.daypilot.org/scheduler/hiding-time-columns/
This will let you display custom hours, e.g. from 20:00 to 4:00 the next day.