Skip to content

TIME function in Excel

TIME builds a time from hour, minute and second.

Syntax

=TIME(hour, minute, second)
ArgumentRequired?What it is
hourRequiredThe hour, 0 to 23.
minuteRequiredThe minute, 0 to 59.
secondRequiredThe second, 0 to 59.

Example

Start 09:00 and end 17:30: =(C2-B2)*24 returns 8.5 hours.

From the lesson TIME, HOUR and MINUTE.

Common mistakes

  • Forgetting the *24, so 8 hours shows as 0.333.
  • A night shift (22:00 to 06:00) gives a negative number without MOD.
  • Typing 9.30 for half past nine: Excel reads it as a number, not a time. Type 9:30.

Practise TIME in a live spreadsheet

Type the formula yourself and get it graded instantly, no Excel needed.