Welcome Guest, Not a member yet? Register   Sign In
"24 hours ago" in Unix
#2

[eluser]Colin Williams[/eluser]
Just a little 3rd grade math.

Code:
$one_day_ago = time() - (60 * 60 * 24);


Messages In This Thread
"24 hours ago" in Unix - by El Forum - 01-31-2010, 09:55 PM
"24 hours ago" in Unix - by El Forum - 01-31-2010, 11:05 PM
"24 hours ago" in Unix - by El Forum - 02-01-2010, 09:20 AM
"24 hours ago" in Unix - by El Forum - 02-01-2010, 09:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB