# WEEKDAY Function

> Return the day of the week of a date as a number with WEEKDAY in TX Sheet Control: return types 1, 2, 3 and 11 to 17, #NUM! and #VALUE! errors and an example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > WEEKDAY Function
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weekday/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weekday/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weekday/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weekday/#syntax)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weekday/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weekday/#see-also)

---

## Nearby

- **Previous:** [WEBSERVICE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/webservice/llms.txt)
- **Next:** [WEEKNUM Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/weeknum/llms.txt)
