How can I specify how many levels deep the timespan() function in Codeigniter should go?
- by Shamoon
I'm using Codeigniter's "timespan()" function to give a human readable phrase of how much time has elapsed since an event: "5 days, 3 hours, 12 minutes, 1 second", but I don't need to go down to the minute or second level.
Is there any way to turn that off?