Forum Discussion
HenryJS
6 years agoPost Prodigy
Calculating Time from Start & End Times
Hi all, How can I calculate the hours between two start / end times? The below formula does not calculate the hours correcly Engage Hours per day = ([Start]-[End])
- 6 years ago
Hi HenryJS ,
You could use Time.Hour() in query editor.
if [Start]>[End] then 24-Time.Hour([Start])+Time.Hour([End]) else Time.Hour([End])-Time.Hour([Start])Here is the result.
- 6 years ago
Hi HenryJS ,
Does that make sense? If so kindly mark my answer as a solution to close the case. Thanks in advance.
v-eachen-msft
6 years agoCommunity Support
Hi HenryJS ,
Does that make sense? If so kindly mark my answer as a solution to close the case. Thanks in advance.