Articles with the tag:
Close
Changelog
Close
Articles with the tag:
Close

HOUR Function

The HOUR function is one of the date and time functions. It returns the hour (a number from 0 to 23) of the time value.

The HOUR function syntax is:

HOUR( time-value )

where time-value is a value entered manually or included into the cell you make reference to.

Note: the time-value may be expressed as a string value (e.g. "13:39"), a decimal number (e.g. 0.56 corresponds to 13:26) , or the result of a formula (e.g. the result of the NOW function in the default format - 9/26/12 13:39)

To apply the HOUR function,

  1. select the cell where you wish to display the result,
  2. click the Insert Function Insert Function icon icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the Function icon icon situated at the formula bar,
  3. select the Date and time function group from the list,
  4. click the HOUR function,
  5. enter the required argument,
  6. press the Enter button.

The result will be displayed in the selected cell.

HOUR Function

Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action