DayPilot.Date.getDayOfWeek

DayPilot.Date.getDayOfWeek()

Returns the day of week (int). Possible values are 0-6. 

0 corresponds to Sunday, 1 corresponds to Monday, etc.