How to tell the difference between two dates and display the Year, Month and Day?

@Originaal, you should be able to do it as outlined in the image shared below:

In the survey tab of your XLSForm:

Data entry screen as seen in Enketo:

Reference XLSForm:

Calculate Date (Year, Month, Day).xlsx (9.8 KB)