08-17-2009, 02:50 PM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Jul 2009
Posts: 10
Thanks: 1
|
since last update
i'm trying to make a script and cant get any of them working
say i have a string:
PHP Code:
$lastupdate = "2009-08-10 21:10:52";
from that i want to omit the 21:10:52 (time)
then calculate how many days have past and display it as
PHP Code:
echo " ' .$days. ' days since last update";
any help with this would be greatly appreciated
Talonos
|
|
|
|