timespan() shortening |
[eluser]rich.a.coy[/eluser]
I found close to want I needed in this thread: http://ellislab.com/forums/viewthread/113067/ However is was not precise enough so I modified it to display down to minutes and seconds. If you need this functionality just put this code in a helper file for the date_helper and call the elapsed_time function. Code: <?php Hope this helps someone. |
Messages In This Thread |
timespan() shortening - by El Forum - 01-15-2010, 07:05 PM
timespan() shortening - by El Forum - 01-16-2010, 06:00 AM
timespan() shortening - by El Forum - 01-16-2010, 01:04 PM
|