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

ParameterTypeDescription
fromstring or date and timeISO 8601 time string, or a date and time to take the time from
hour, minute, second, offsetnumbers / durationtime 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

date · date and time

Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).