Start Free Course

TIME Function In Excel

Written by ExcelMojo Editorial Team ExcelMojo Editorial Team ExcelMojo editorial profile and article credentials. Full Bio
Reviewed by Dheeraj Vaidya, CFA, FRM Dheeraj Vaidya, CFA, FRM Reviewed for accuracy, clarity, and editorial standards. Full Bio
Updated Apr 28, 2026
Read Time 8 min

What Is TIME Function In Excel?

The TIME Function in Excel calculates the required time and gives the output in the HHMM format. It is also calculated on the set parameters, i.e., if the Hours’ range is less than and equal to 12, then the time will be in AM, and post 12, the time will be in PM till 11:59 in the clock.

The TIME Excel Function is an inbuilt function which means we can insert the formula from the “Function Library” or enter it directly in the worksheet.

📥Download the ready-to-use Excel template to practice this tutorial yourself.

Download Excel Template

For example, we apply the TIME Function in Excel to return the time in the correct format.

Frequently Asked Questions (FAQs)

1. What is the TIME function used for in Excel?

The TIME function returns the time as a decimal number. We can format it to the HH:MM:SS format of time with AM or PM details. If the cell format is set as General before the function is entered, the result will be in decimal, but if the cell format is set as TIME before the function is entered, the result will be in time format.

The syntax of the TIME Function in Excel is =TIME(hour, minute, second)
For example, let us use the TIME function to return the time in the correct format.
First, the required time format is set in the cells.

Select cell A1, enter the formula =TIME(10,10,10), and press the “Enter” key. The output is “10:10 AM”.

Time Function in Excel FAQ 1

Select cell A2, enter the formula =TIME(23,20,20), and press the “Enter” key. The output is “11:20 PM”.

FAQ 1-1

The output is shown above.

2. How to insert the TIME function in Excel?

We can insert the TIME function in Excel as follows:
1.     Select an empty cell for the output.
2.     Type =TIME( in the selected cell. [Alternatively, type =T or =TI and double-click the TIME function from the Excel suggestions.]
3.     Enter the arguments as values or cell references.
4.     Press the “Enter” key.

3. Where is the TIME function in Excel?

The TIME Function in Excel is in the Formulas tab. We can insert the formula as follows:

First, choose an empty cell for the output → select the “Formulas” tab → go to the “Functions Library” group → click the “Date & Time” drop-down → select the “TIME” function, as shown below.

FAQ 3

Download Template

📥Download the ready-to-use Excel template to practice this tutorial yourself.

Download Excel Template

This has been a Guide to TIME Function In Excel. We explain how to use TIME formula with step by step examples & downloadable excel template. You can learn more from the following articles –