Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB