Date format "dd-mm-yyyy"

Hi Team,


I need help to display the date in format "dd-mm-yyyy".
First attach is the screenshot that how we need the format.
Second attach is screenshot of warning, When we are applying formula(format-date(.,"%d-%m-%y") for date format then we are getting this warning.
Please help me to resolve this problem.

Thanks & Regards,
Zeeshan Ahmad

Are you using a customized version of CommCare? Normally "Calculate Condition" only shows up for hidden values, since for other question types, the value stored comes from user input.

You should be able achieve this goal by using two questions:

  1. A date question that stores the raw user input
  2. A hidden value that formats that input as you like using a calculate