Date and time

TIME

Build an Excel time value from hours, minutes and seconds.

Syntax

=TIME(hour, minute, second)

Worked example

Build a time from separate hour and minute inputs. Apply a time format.

=TIME(8,45,0)

Result 08:45

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor