Is there any recommendation of datetime calculation? I have been going toward UNIX timestamp and diff calculation method but both of it don't really provide a better way to complete my task.
Here is the sample of datetime I have. 2013-09-07 21:12
I wish to calculate the duration between the 2 datetime. Lastly display the total of minutes duration for the 2 datetime. Most of the calculation work to display for year, months, days, hours, minutes, seconds. I need some method to find out the duration between 2 times and convert the duration into total of minutes.
Anyone?