How can I display the length of time my readers have spent on a particular page in Seconds to Human Readable Time

You want to measure the average duration of something, and you want to display it in human readable form (HH:MM:SS). The following query part can be used to transform a duration in seconds (herebey duration_seconds) to the proper format.

as avg_duration