# getCalendars

### Description

@short: Gets all the calendars added into Gantt

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

### Returns
- ` calendars` - (array) - an array of calendars

### Example

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

### Details

added in version 4.2

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

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

