Excel function

TIMEfunction

Combines hour, minute and second numbers into one time.

All versions
=TIME(14, 30, 0)

Result (h:mm:ss)8 chars

11
24
3:
43
50
6:
70
80

Enter 90 for minute and 27 for hour. The extra rolls over into the next unit. Try breaking it on purpose to see the errors.

Result

14:30:00

hour

The hour. Above 23, the remainder after dividing by 24 is used.

minute

The minute. Above 59, it rolls over into hours.

second

The second. Above 59, it rolls over into minutes.

What is the TIME function?

=TIME(hour, minute, second)

TIME combines three numbers — hour, minute and second — into one time.

Excel treats a day as 1, so 12:00 is stored as 0.5. According to Microsoft, an hour above 23 is divided by 24 and the remainder used, and minutes and seconds above 59 roll over into the next unit.

Arguments

hour
A number from 0 to 32767.
minute
Above 59, it rolls over into hours.
second
Above 59, it rolls over into minutes.

TIME examples

  1. Example 1. 2:30 PM

    =TIME(14, 30, 0)

    14:30:00, a value of about 0.604.

  2. Example 2. Extra minutes

    =TIME(0, 750, 0)

    As in Microsoft's example, 12:30:00.

  3. Example 3. Add time

    =A2+TIME(1, 30, 0)

    Adds 1 hour 30 minutes to the time in A2.

Common mistakes

FAQ

Get only the hour from a time?
Use HOUR.
Combine with a date?
Add them: =DATE(2026,5,4)+TIME(14,30,0).