I have 2 time() values, for example:
1379078542
1379078574
How do I work out their diffidence and display the output as years, months, weeks, days, hours, minutes, seconds etc.
The 2 values above have a difference of 32 seconds I think, so in this case, I would want to display 32 seconds.