Gantt APIMethodsgetWorkHoursOn this pagegetWorkHours Description Returns the working hours of the specified date getWorkHours: (date: Date) => any[]Parameters date - (required) Date - a date to check Returns hours - (array) - a working period of the date Examplegantt.config.work_time = true;gantt.init("gantt_here");gantt.getWorkHours(new Date(2013,03,30))// -> [8, 17] /*!*/Related API work_time setWorkTime Related Guides Work Time Calculation