# DAYS Function

> Calculate the number of days between two dates with the DAYS formula function of TX Sheet Control: argument order, negative results and #VALUE! errors.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [DAY Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/day/llms.txt)
- **Next:** [DAYS360 Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/days360/llms.txt)
