bmel:hour¶
Category: Date & Time · Returns: bmel:integer
Signature
bmel:hour(expr: bmel:datetime)
Description¶
Extracts the hour (0-23) from a datetime value.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
expr | bmel:datetime | The datetime value. |
Examples¶
Hour of the call
bmel:hour({invokeAgent:Request Context}.$.bm.request.timestamp)
Calls out of business hours
bmel:hour({invokeAgent:Request Context}.$.bm.request.timestamp) < 8