Epoch time

Guys, i have a question...

I have 2 sets of data say "a" and "a+1" which has values in epoch time..

Question is... if i were to get the time difference where diff = "a+1" - "a"
can i convert it back to real time duration after the subtraction...
OR i need to convert em first before i do the subtraction to get the real time results in seconds and minutes...

Appreciate some light here...

thanks

Epoch time is actually time passed in seconds since Epoch - 00:00:00 UTC January 1, 1970. What you will end up with after subtraction is difference between the two times in seconds. You just have to convert this to minutes:hours if you need.

This is a duplicate request. PLEASE do not do that. Notice that you got the same answers in both threads!