# MONTH Function

> Return the month of a date from 1 to 12 with the MONTH formula function of TX Sheet Control: serial numbers, date text, the #NUM! error and an example.

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

---

Return the month of a date, a number from 1 (January) to 12 (December). `serial_number` is a date serial number, such as the result of `DATE` or `TODAY()`, or a date text such as `"2026-03-05"`. A negative serial number returns `#NUM!`. Unlike Excel, which returns 1 for the serial number 0, TX Sheet Control returns 12.

### Syntax

```text
MONTH(serial_number)
```

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

Available for supported offline calculation.

### Examples

```text
=MONTH(45292)
```

The formula returns 1, because the serial number 45292 is January 1, 2024.

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:** [MODE.SNGL Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mode-sngl/llms-full.txt)
- **Next:** [MROUND Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/mround/llms-full.txt)
