# TIME in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/time/

TIME turns an hour, a minute and a second into a time value, stored as a fraction of a day. Use it to build times from separate cells or to add durations to a time.

## Syntax

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

## Arguments

- `hour` (number, required: yes): The hour. Values above 23 wrap around, so 25 means 1 AM.
- `minute` (number, required: yes): The minute. 90 becomes one hour and 30 minutes.
- `second` (number, required: yes): The second. Overflow carries into the minute in the same way.

## Examples

The examples use this table, starting in A1:

| Hour | Minute | Second |
|---|---|---|
| 14 | 30 | 0 |
| 25 | 0 | 0 |
| 0 | 90 | 0 |

```
=TIME(A2, B2, C2)
```

Result: `2:30:00 PM`

Builds a time from three cells. The display follows the locale: 12-hour with AM/PM in en_US, 24-hour in ro_RO. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=TIME(A3, B3, C3)
```

Result: `1:00:00 AM`

Hour 25 wraps to 1:00. TIME never returns a date part. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=TIME(A4, B4, C4)
```

Result: `1:30:00 AM`

90 minutes carry over into one hour and 30 minutes. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=TIME(8, 45, 0) + TIME(0, 30, 0)
```

Result: `9:15:00 AM`

Times are fractions of a day, so they can be added. 8:45 plus half an hour is 9:15. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=HOUR(TIME(1.9, 0, 0))
```

Result: `1`

Decimals are cut off, not rounded: 1.9 hours counts as hour 1. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- Hours above 23 do not add days. TIME(25, 0, 0) is the same value as TIME(1, 0, 0), and TIME(24, 0, 0) equals midnight.
- A negative hour, minute or second returns #NUM!. Subtract two times instead of passing a negative argument.
- Text such as "abc" in any argument returns #VALUE!. Check imported cells that look like numbers but are stored as text.

## Compared with Excel

Same syntax in Excel, and hours above 23 wrap around there as well.

## Related functions

- [HOUR](https://goingstellar.ro/reference/sheets/hour/)
- [NOW](https://goingstellar.ro/reference/sheets/now/)
- [DATE](https://goingstellar.ro/reference/sheets/date/)

## Sources

- [TIME (Docs Editors Help)](https://support.google.com/docs/answer/3093056)

