Calculating date and time difference

Hi, I am having issue in calculating the time difference between two date /time fields. I need days , hours and minutes and seconds difference.
I have created the field name time resolution but I am not getting a way to do it using workflow. I tried but it returns only one output .i.e. minutes, hours or days but not all of them together.

Can you do a logic hook? You would have more power in PHP.