Skip to main content

Date.DayOfWeekName

Returns the day of the week name.

Syntax

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

Remarks

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

Examples

Example #1

Get the day of the week name.

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

Result:

"Saturday"

Category

Date