# getLocaleMonthNames Type documentation

## TypeScript declaration

### [getLocaleMonthNames](<https://github.com/siemens/element/blob/main/projects/element-ng/datepicker/date-time-helper.ts#L68-L73>)

**Kind:** constant

```
import { getLocaleMonthNames } from '@siemens/element-ng/datepicker';
```

Get local specific months using DateTimeFormat.

```
(locale: string) => string[] = ...
```

```
getLocaleMonthNames(locale: string): string[]
```

Get local specific months using DateTimeFormat.

#### Parameters

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [locale](<https://github.com/siemens/element/blob/main/projects/element-ng/datepicker/date-time-helper.ts#L68-L68>) | `string` |  | • current locale |

**Returns:** [string](<https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String>)`[]`
