# TIME Function

> Create a time serial number from hour, minute and second with the TIME formula function of TX Sheet Control: carry-over, #NUM! and an example.

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

---

Return the time serial number of an hour, minute and second. The result is the fraction of a day from 0 to less than 1: `hour`, `minute` and `second` that exceed their range carry over, and hours of 24 and more start a new day. A negative result returns `#NUM!`.

### Syntax

```text
TIME(hour, minute, second)
```

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

Available for supported offline calculation.

### Examples

```text
=TIME(12,30,0)
```

The formula returns 0.5208333333, which displays as 12:30 PM with a time format.

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:** [TEXTSPLIT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/textsplit/llms-full.txt)
- **Next:** [TIMEVALUE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/timevalue/llms-full.txt)
