bmel:date-of¶
Category: Date & Time · Returns: bmel:date
Signature
bmel:date-of(expr: bmel:datetime)
Description¶
Extracts the date part from a datetime value, discarding the time component.
Arguments¶
| Parameter | Type | Required | Description |
|---|---|---|---|
expr | bmel:datetime | The datetime value to extract the date from. |
Examples¶
Order date without the time
bmel:date-of({createOrder:Request Payload}.$.created_at)
Date the call reached the platform
bmel:date-of({invokeAgent:Request Context}.$.bm.request.timestamp)