se faccio:
$diff=(int)(abs(strtotime("07-03-2005") - strtotime("now"))/86400);
perché mi da 776giorni? :'(
se faccio:
$diff=(int)(abs(strtotime("07-03-2005") - strtotime("now"))/86400);
perché mi da 776giorni? :'(
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present
Devi invertire la data e metterla nel formato inglese
AAAA-MM-GG,
probabilmente come hai fatto prende l'anno 2007...
ma smackkkk
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present