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