# EDATE Function

> Return the date a number of months before or after a date with EDATE in TX Sheet Control: month-end handling, date serial numbers and the #VALUE! error.

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

---

Return the date a number of months before or after a date. `start_date` is the date and `months` the number of months, negative for earlier dates; decimals of `months` are truncated. When the day doesn't exist in the target month, EDATE returns the last day of that month. The result is a date serial number; format the cell as a date to show it as a date. A `start_date` that is not a date returns `#VALUE!`.

### Syntax

```text
EDATE(start_date, months)
```

Category: Date & Time. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=EDATE(DATE(2026,1,15),1)
```

The formula returns 46068, the serial number of February 15, 2026.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [DVARP Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dvarp/llms-full.txt)
- **Next:** [EFFECT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/effect/llms-full.txt)
