Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on September 11, 2018 11:50PM
Likes: 0
Replies: 4
I adapted the code and it works fine:
concat(get("00", 0, 2 - length(floor(diff(ended_at, started_at, "Seconds") / 3600))), concat(floor(diff(ended_at, started_at, "Seconds") / 3600)),":",get("00", 0, 2 - length(floor(mod(diff(ended_at, started_at, "Seconds"), 3600)/60))), concat(floor(mod(diff(ended_at, started_at, "Seconds"), 3600)/60)),":",get("00", 0, 2 - length(mod(mod(diff(ended_at, started_at, "Seconds"), 3600),60))), concat(mod(mod(diff(ended_at, started_at, "Seconds"), 3600),60)))