Google Sheets
TIME function in Google Sheets
Converts a provided hour, minute, and second into a time.
=TIME(hour, minute, second)TIME syntax and parameters
Three arguments, three required.
- hournumberRequired
The hour component of the time.
- minutenumberRequired
The minute component of the time.
- secondnumberRequired
The second component of the time.
TIME examples
Formulas you'll actually reuse.
A clock-out time from hours, minutes and seconds:
=TIME(17, 15, 0)Result
17:15Minutes overflow into hours — 90 minutes reads as 01:30:
=TIME(0, 90, 0)Result
01:30
TIME in Excel
Same name — your formula ports as-is.
Try TIME in the playground
Edit the example — nothing to install.
Preloaded with the TIME formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Google Sheets gets this done.
- DATEConverts a provided year, month, and day into a date.DateExcel
- DATEDIFCalculates the number of days, months, or years between two dates.DateExcel
- DATEVALUEConverts a provided date string in a known format to a date value.DateExcel
- DAYReturns the day of the month that a specific date falls on, in numeric format.DateExcel
- DAYSReturns the number of days between two dates.DateExcel
- DAYS360Returns the difference between two days based on the 360 day year used in some financial interest calculations.DateExcel