View Single Post
Old 08-17-2009, 02:50 PM   #1 (permalink)
talonos
The Wanderer
 
Join Date: Jul 2009
Posts: 10
Thanks: 1
talonos is on a distinguished road
Help 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
talonos is offline  
Reply With Quote