• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
timespan() shortening

#1
[eluser]rich.a.coy[/eluser]
Is there a way to shorten the timespan() function to show just the first segment?

For example: "6 hours", or "23 minutes"? Whichever is the biggest time value available.

No one wants to see that my database record is "1 Week, 4 Days, 21 Hours, 52 Minutes" old. Smile

I saw an old thread on this issue but did not see a solution.

Thanks.


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.