HOUR
Extract the hour component of a time, from 0 through 23.
Syntax
=HOUR(serial_number)Worked example
Extract the hour using the 24-hour clock.
=HOUR(TIME(16,45,12))Result 16
Microsoft documentation
Check the arguments, supported editions and behavior of this function in Microsoft’s reference.
Microsoft referenceExcel Time Mastery: Navigate Hours with the HOUR Function! ⏰📊✨ #exceltips #spreadsheetskills
Practice HOUR
Extract the hour using the 24-hour clock.
| A | B | |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Show example formula
=HOUR(TIME(16,45,12)) Lesson quiz
Answer three questions to see your level in this lesson.
