Count days between two dates

Want to count days between two date field and show in other field.how to achieve this

Hi,
Refer this,

1 Like

in javascript or in python?

@hemant_Dabholkar If you’re looking for built in date operations on the server side, they are here.

https://frappe.github.io/frappe/current/api/utils/frappe.utils.data

thanks its done