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
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.
|TIME(20, 20, 20)||8:20 PM|
|TIME(0, 20, 0)||12:20 AM|
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)
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)
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)
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)