Add date-from-components() XPath function

FYI the name date-from-components(day,month,year) follows existing https://docs.opendatakit.org/form-operators-functions/#boolean-from-string

I'm not sure which order of arguments - d,m,y vs y,m,d - is more intuitive. Other than the YYYY-MM-DD order in the resulting string (which we're trying to hide...), there doesnt seems to be a lot of prior art in other date functions wrt ordering.

1 Like