TIME Function
Return the time serial number of an hour, minute and second. The result is the fraction of a day from 0 to less than 1: hour, minute and second that exceed their range carry over, and hours of 24 and more start a new day. A negative result returns #NUM!.
Syntax
TIME(hour, minute, second)
Category: Date & Time. Minimum arguments: 3. Maximum arguments: 3.
Available for supported offline calculation.
Examples
=TIME(12,30,0)
The formula returns 0.5208333333, which displays as 12:30 PM with a time format.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.