time
FEEL built-in function · Conversion functions
time(from) or time(hour, minute, second, offset?)
Creates a time from an ISO 8601 string, from components, or by extracting the time of a date and time value.
Parameters
| Parameter | Type | Description |
|---|---|---|
| from | string or date and time | ISO 8601 time string, or a date and time to take the time from |
| hour, minute, second, offset | numbers / duration | time components with optional timezone offset (alternative form) |
Examples
time("14:30:00")
14:30:00
Try it →
time(14, 30, 0, duration("PT1H"))
14:30:00+01:00
Try it →
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).