Microsoft Excel – TIME functions

TIME function in Excel and it’s related functions are important functions to deal with date-time related data. As these function commonly used with DATE functions, recommend to read an article on DATE functions.

TIME function in Excel

It returns the time value by taking individual time components (hour, minutes & seconds) as it’s arguments. Using this function we can form the time code using these individual time components.


TIME(hour, minute, second)

TIME function in Excel is very useful, when converting unidentified time format to the Excel recognized time format. We need to first split the unidentified time format into individual time components and then combine the components to form a proper time format using this function.

Formula Result
TIME(20, 20, 20) 8:20 PM
TIME(0, 20, 0) 12:20 AM

HOUR function

It takes the time value as an argument and returns the hour (ranging from 0 to 23) component of a time value.


HOUR(time value as serial number)

Formula Result
HOUR(NOW()) 20
HOUR(TIMEVALUE(“25-04-2019 20:54”)) 20

MINUTE function

When passing the time value through this function, it returns the minutes (ranging from 0 to 59) value of it.


MINUTE(time value as serial number)

Formula Result
MINUTE(TIMEVALUE(“25-04-2019 20:54”)) 54

SECOND function

A seconds value (ranging from 0 to 59) will be returned by this function, when we pass time value as an argument.


SECOND(time value as serial number)

Formula Result
SECOND(TIMEVALUE(“25-04-2019 20:54:27”)) 27

TIMEVALUE function

When we have the time value in text format, we can convert that into time value using this function. So that, we can use the converted value in formulas for any time related calculations.


TIMEVALUE(time value as text)

Formula Result
TIMEVALUE(“20:20”) 0.847222222
TIMEVALUE(“25-04-2019 20:54:27”) 0.871145833

🙂 Sahida

Add a Comment

Your email address will not be published.