Compare epoch times?

Is there a function to compare epoch times returning years,months,days,seconds ?

I am not sure about BIF, but there are a few UDF available on CFLib:

https://cflib.org/search?search=epoch