Date.DayOfWeekName

Date.DayOfWeekName

Returns the day of the week name.

function (optional date as nullable any, optional culture as nullable any) as nullable any

Description

Returns the day of the week name for the provided date and, optionally, a culture culture.

Category

Date

Examples

Get the day of the week name.

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

"Saturday"