How to correctly apply datedif function in kobo form

Buenas tardes no se mucho de programación necesito que dos fechas que estan en formulario Kobo se resten e indique los dias resultantes en otra pregunta del Kobo automaticamente al tener diligenciados los dos campos de fechas

@Savechilds, you could do it as outlined in this post discussed previously:

Hi¡ Kal I hope you are well.
I have a question if I already have a field calculated with the days and then I must calculate based on those days, how many months correspond to said days including 0 if it is less than 30 days how would I calculate it?
For example if i have as result in field calculate days 45 for default show me 2 months

thanks in advance for your support