Welcome Guest, Not a member yet? Register   Sign In
Problems with timespan() function
#1

[eluser]ReyPM[/eluser]
Hi every, I'm having some issues with timespan() function because for example I insert the CURRENT_TIMESTAMP in my table column wich is a timestamp type and I get:Published since 42 Years, 7 Months, 3 Weeks, 6 Days, 23 Hours, 23 Minutes what is wrong there? I miss something?
#2

[eluser]michalsn[/eluser]
Code:
echo timespan(mysql_to_unix($timestamp_from_database));




Theme © iAndrew 2016 - Forum software by © MyBB