Saved Search Formula: Date/Time Difference in Days – Hours – Minutes – Seconds format

DAYSTRUNC({date1}-{date2})
HOURSMOD(TRUNC(({date1}-{date2})*24),24)
MINUTESTRUNC(60*((({date1}-{date2})*24)-TRUNC(({date1}-{date2})*24)))
SECONDSROUND(60*((((({date1}-{date2})*24)-TRUNC(({date1}-{date2})*24))*60)-TRUNC(((({date1}-{date2})*24)-TRUNC(({date1}-{date2})*24))*60)),0)
Create a formulae text field and then concatenate all the above formula using || as a result column.

Leave a comment

Your email address will not be published. Required fields are marked *