Need to calculate days between dates


i have these two dates. i need to calculate date between them and show the total days. how can i do it?
PS: i got that formula is ; int(decimal-date-time(${End_at}) - decimal-date-time(${Start_From}))
but where do i write it? how can i show the days ans?

Hi @try and welcome to the community!

You need to add a calculate type question, which you can see how to do it in this help article: Calculate Question Type — KoboToolbox documentation

And afterwards, if you want to display the calculation, you need to create a note, and display the calculation in there, which you can see how to do it in this help article: Including Responses Inside Another Question — KoboToolbox documentation

If you need further help, don’t hesitate to ask, community will try its best to help you.

1 Like

@try, in addition to what @hakan_cetinkaya has advised, you could also learn how to calculate and display the days between dates by following the post discussed previously:

1 Like