Hello,
is there a calculation to extract the Month name such as “January” from a date of birth field?
i have tried format-date(${date}, ‘%n’) and format-date(${date}, ‘%B’) but they didnt work
thanks in advance.
Hello,
is there a calculation to extract the Month name such as “January” from a date of birth field?
i have tried format-date(${date}, ‘%n’) and format-date(${date}, ‘%B’) but they didnt work
thanks in advance.
Small letter (%b), please. Will give you short text month (Jan, Feb, etc), in current form language.
See ODK XForms Specification.
@Oz87, you should be able to do the same by following this post discussed previously: