How to calculate difference between two times in Power Automate

"I've got two times, the task start time and end time, how do I calculate a difference in minutes or hours with Power Automate?"