Can anyone tell me how to derive the day from the date in Kobo date type question?
(ex: 24/07/2023 —> Monday)
See %a option in format-date function: ODK XForms Specification .
Hint: The day value given depends on the recent form language. So, if you use it for expressions (e.g. in an if clause) in a multiple language form, you need to use a … = format-date( aWeekDayDate, a% ) comparison.
1 Like