Start from a specific hour

Is it possible to start the time scale from a specific hour? For example, start from 8AM to 8AM, or 8AM to 8PM, then 8PM to 8AM, just like this gantt%20question

Hello Jingbo,
You can try creating a custom time unit and add your logic for calculating the scale cells:
https://docs.dhtmlx.com/gantt/desktop__configuring_time_scale.html#customtimeunits
Here is an example of how it might be implemented:
http://snippet.dhtmlx.com/5/0ad01985e

Also, please, note, that the scale cell cannot start at the same time its sibling ended (end at 20:00 and start at 20:00).
You can show any values, text, or HTML elements in the scale cells. But Gantt uses non-inclusive time calculation, so, internally the scale cell will start at 08:00 and end at 19:59.

Thanks a lot, Ramil. It works! I am going to learn more about custom scale.