I am looking for a simple function to convert the number of seconds in uptime (of Mysql) to something like this:
Mysql has been up for: 2 day(s), 1 hour(s), 8 minute(s), 4 second(s)
So basically I want a number like 38203 converted to something like the line above.
Any ideas?