Date.DayOfWeekName

This function retrieves the name of the day of the week based on the input date. It also allows for an optional parameter, such as a specific culture (e.g. "en-US"), to be specified.

Syntax

Date.DayOfWeekName(date as any, optional culture as nullable text)

About

This function retrieves the name of the day of the week based on the input date. It also allows for an optional parameter, such as a specific culture (e.g. "en-US"), to be specified.

Explanation

Retrieve the name of the day of the week. SyntaxPower Query MDate.DayOfWeekName(#date(2011, 12, 31), "en-US")Result"Saturday"