How Can I Get Duration Between dates

@luckylovs have a look at this

this block from this extension might help you