Date.DayOfWeekName

Syntax

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

About

Returns the day of the week name for the provided date. An optional culture may also be provided (for example, "en-US").

Example 1

Get the day of the week name.

Usage

Date.DayOfWeekName(#date(2011, 12, 31), "en-US")

Output

"Saturday"