Hour Function
Description:
The hour component of a time value, in the range 0 (midnight) to 23 (11 PM).
Returns:
Whole Number
Parameter:
Parameter | Data Type | Description |
|---|---|---|
1 | Time | The time. |
Example:
When using functions inside a field, remember the field brackets:
{Hour(ClosingTime)}
Expression | Result |
|---|---|
Hour( Time( 23, 15, 45 ) ) | 23 |