week

Read(1) Label: week,

Syntax:
week(<date>)

Return:
Integer. Returns which day of the week <date> falls on, with Sunday as day 1.

Parameter <date>:

original value. Required parameter; date type; parameter name omitted.

Example:

Day-of-week number for the date 2026-06-03.

NLC snippet: week(2026-06-03) // result is 4