The function dateonly() returns the date value from the Date/time argument.
dateonly(date(argument))
The function takes the function date() as a required argument.
Returns a date value in the date/time data type.
Dataset
XPDL-rule
Result
05/17/2022 19:50
rule: r1
{
query: {phrase({phrase(char(digit), "/", char(digit), "/", char(digit))}:date, {phrase(char(digit), ":", char(digit))}:time)}:m
result: Match = $m
attribute: Date = dateonly(date($m))
}
5/17/2022