Many thanks, indeed.
And how do I calculate the difference between two dates. For example:
Date of admission: 03/25/2010
Date of hoe: 02/10/2018
I want the text field to appear: xx years, xx months, and xx days
I've branched your question as a new thread.
This is basically age calculation. Try searching the forums, it was discussed many times.
Some good resources on the subject: