# getCalendars

### Description

@short: Gantt에 추가된 모든 캘린더를 가져옵니다

@signature: getCalendars: () =\> any[]

### Returns
- `calendars` - (배열) - 캘린더 배열

### Example

~~~jsx
var calendars = gantt.getCalendars();
~~~

### Details

버전 4.2에서 추가됨

### Related API
- [getCalendar](api/method/getcalendar.md)
- [getTaskCalendar](api/method/gettaskcalendar.md)

### Related Guides
- [Work Time Calculation](guides/working-time.md)