# SECOND Function

> Return the seconds of a time serial number with the SECOND formula function of TX Sheet Control: syntax, the #NUM! error, text times and an example.

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

---

Return the seconds of a time value as a number from 0 to 59. `serial_number` is a date and time serial number, in which the fraction of the day is the time. A negative number returns `#NUM!`. In TX Sheet Control, text such as `"12:45:39"` returns `#VALUE!`; convert it with `TIMEVALUE` first.

### Syntax

```text
SECOND(serial_number)
```

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

Available for supported offline calculation.

### Examples

```text
=SECOND(45292)
```

The formula returns 0: the serial number 45292 is midnight of 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:** [SECH Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sech/llms-full.txt)
- **Next:** [SEQUENCE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/sequence/llms-full.txt)
