TIME(hour, minute, second)
TIME(3,0,0)
The TIME function is used to calculate the amount of time given certain parameters.This will return 3 hours.
TIME(0,0,3)
The TIME function can also be used to calculate the amount of minutes and seconds. Similarly, this example will return 3 seconds.
TIME(8,30,0)
The TIME function can be used to calculate decimal numbers as well. This example will return 8.5 hours. This can be useful for calculations involving fractions of an hour.
TIME(0,120,0)
The TIME function can also be used to convert minutes and seconds into hours. This example will return 2 hours.
The TIME function returns a decimal number for a particular time, and requires its arguments to be specified.