HOUR function

Category: Date and time
Introduced: Excel 2003

Summary

Converts a serial number to an hour

Syntax

HOUR(serial_number) The HOUR function syntax has the following arguments:
• Serial_number Required. The time that contains the hour you want to find. Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or functions (for example, TIMEVALUE("6:45 PM")).

Example

=HOUR(A2)
=HOUR(A3)
=HOUR(A4)

Microsoft Support Page

https://support.microsoft.com/en-us/office/hour-function-a3afa879-86cb-4339-b1b5-2dd2d7310ac7

Back to Functions