FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

TIME in Google Sheets

TIME with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the TIME Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Noon is half a day

A
1

Formula: A1: =TIME(12,0,0)*24

Result: 12

Multiplying the day fraction by 24 gives the hour count.

Hours wrap past 24

A
1

Formula: A1: =HOUR(TIME(27,30,0))

Result: 3

Twenty-seven hours is one day plus three hours, and the day part is discarded.

Hours worked

A
1

Formula: A1: =ROUND((TIME(17,30,0)-TIME(9,0,0))*24,2)

Result: 8.5

From 9:00 to 17:30 is 8.5 hours.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =TIME(9,30,0)

Example spreadsheet for TIME
ABCDEF
1StartEndHolidayTimeResult
23/15/20266/20/20265/1/202614:4509:30
31/31/20262/28/20265/9/202609:30
412/24/20251/9/2026
Result in F2: 09:30
Practice this in a lesson: Time and Paying Hours

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.