When using WEEKDAY, 3 common question types appear most often: parameter input, result checking, and practical usage; this FAQ includes 3 common answers and a glossary.
FAQ
What should I check first if WEEKDAY returns an error?
- Check whether the field or parameter you passed in is a valid date.
- Confirm that the formula syntax, parentheses, commas, and field references are complete.
- Save the formula and review the result again. If needed, test with one record first.
Can I use WEEKDAY with other formulas in WPS?
- Yes. Start by using WEEKDAY to return a weekday number.
- Then combine that result with conditional logic or other calculations.
- Save the formula and review whether the output matches your intended classification.
Does WEEKDAY update automatically after imported data changes?
- If the formula field references imported date data, the result is calculated for the current records after saving.
- When the source date field changes, the formula result updates with it.
- If the result does not change, check whether the date field format is correct.
Glossary
| Term | Definition |
|---|---|
| WEEKDAY | A date function that returns the weekday number for a specified date. |
| Formula field | A calculated field in a multidimensional table that generates results from other field values. |
| Date parameter | The date value passed into a function for calculation, usually from a date field or a valid date expression. |