# Week Day

> Kalipso 5.0 documentation · https://doc.sysdevmobile.com/kalipso/5.0/developing/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
