HOUR
Name
Hour
Description
Returns the hour that corresponds to the provided time.
Syntax
HOUR(time)
Remarks
Specify the time argument as a serial value or time value. To provide a serial value from a time value, use the NOW or TIME function. The returned hour is an integer, ranging from 0 (12:00 A.M.) to 23 (11:00 P.M.).
Spread's calc engine processes dates as a numeric value in the form x.y, where x is the "number of days since December 30, 1899" and y is the fraction of day. Numbers to the left represent the date, which is the value that the DATE function returns. Use the TIME function to return the serial value for the time value (the fraction of a day).
Time serial values are represented as decimal values ranging from 0 to 0.99999999, representing the times from 0:00:00 (12:00:00 A.M.) to 23:59:59 (11:59:59 P.M.).
See also DATE, DAY, MINUTE, MONTH, NOW, SECOND, TIME, TODAY, WEEKDAY, and YEAR.
Data Type
Accepts numeric data. Returns numeric data. For more information, see Data Type for Each Cell Type.
Example
HOUR(A2)
HOUR(0.55) = 13
HOUR(347.55) = 13