@microsoft/fast-foundation > DateFormatter > getMonth
DateFormatter.getMonth() method
Signature:getMonth(month?: number, format?: MonthFormat, locale?: string): string;
Parameters
Parameter | Type | Description |
---|---|---|
month | number | The month to localize |
format | MonthFormat | The formatting for the month |
locale | string | The locale data used for formatting |
string
- A localized name of the month