Skip to main content
Version: 1.x

@microsoft/fast-foundation > DateFormatter > getDay

DateFormatter.getDay() method

Signature:
getDay(day?: number, format?: DayFormat, locale?: string): string;

Parameters

ParameterTypeDescription
daynumberDay to localize
formatDayFormatThe formatting for the day
localestringThe locale data used for formatting
Returns:

string

  • A localized number for the day