> For the complete documentation index, see [llms.txt](https://doc.sysdevmobile.com/kalipso/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sysdevmobile.com/kalipso/5.0/developing/form/expressions/functions/functions-descriptions/date-functions/week-day.md).

# Week Day

Kalipso - Form - Expressions - Functions - Functions Descriptions - Date Functions - Week Day

This Function returns a *\<numeric>*, which is the index of the day of the specified **Source** Date in the week.

### Parameters

* **Source Date** *\<string> -* Date to get the week day from. This parameter must be in format YYYYMMDD.

### **Examples**

* *Example 1*

Saturday\
WDay("20210227")\
**Result** = 6

* *Example 2*

Sunday\
WDay("20210228")\
**Result** = 0

* *Example 3*

Monday\
WDay("20210301")\
**Result** = 1
