Skip to main content

@microsoft/fast-foundation > DateFormatter > getWeekdays

DateFormatter.getWeekdays() method

Signature:
getWeekdays(format?: WeekdayFormat, locale?: string): string[];

Parameters

ParameterTypeDescription
formatWeekdayFormatThe formatting for the weekdays
localestringThe locale data used for formatting
Returns:

string[]

  • An array of the weekday labels