Convert Seconds To Hours, Minutes in PHP

1 · Subin Siby · March 24, 2016, 9:03 a.m.
Say you’re running a process that runs in the background. It’s better to not let the user lose their patience and tell them when it will finish. But, you have the time remaining in seconds. If we show the user : 567 seconds to complete He/she (user) would have to take a calculator and convert it into minutes or hours. Or if the guy/gal is not a math genius, he would close the UI and say "What the Hell ?...