Forum Discussion
michael_knight
Post Prodigy
5 years agoVisualise Date DIFF and Time DIFF
Hi, I'm currently working on a report where I need to display the differences between two Date and Time fields. I did some research on this topic and found this article to be useful to a cer...
lbendlin
Super User
5 years agoYou have not indicated what aggregation you want - do you want the total duration by month, or the average duration for all events in that month? Only events that fall completely in that month, or partial events too (starting in the month or ending in the month)? What are you eventually doing with that data?
In general when you want to do datetime/duration math, don't use datetime/duration format. Use number format with days as the whole number part and the time as the fraction. Only at the very last moment, when you display the result, convert it back to duration format.