Weekday
Description
Returns an integer between (1-7) corresponding to the day of the week of the date. A new column is created for the results.
Day | Weekday() returns |
---|---|
Monday | 1 |
Tuesday | 2 |
Wednesday | 3 |
Thursday | 4 |
Friday | 5 |
Saturday | 6 |
Sunday | 7 |
Use
- Argument:
- Select an argument. (Date)
- Output field name:
- Enter an output field name.
Example
Date value | Weekday() returns |
---|---|
2022-02-18 13:30:00.000 | 5 |
2022-02-19 13:30:00.000 | 6 |
2022-02-20 13:30:00.000 | 7 |
2022-02-21 13:30:00.000 | 1 |
Hero Platform_ Example
An example of this function can be found in Hero Platform_'s library of examples.
Download the example titled "function_Weekday" to see an example of this function.