Ver Mensaje Individual
  #14 (permalink)  
Antiguo 30/06/2009, 13:53
ema21del9
 
Fecha de Ingreso: marzo-2009
Mensajes: 355
Antigüedad: 15 años, 11 meses
Puntos: 4
Respuesta: ayuda con strtotime

Proba cambiando la segunda variable llamada $fechalista por algo diferente, por ejemplo:

Código PHP:
date_default_timezone_set('America/Bogota');
$fecha=date('Y-m-d ');
$fechalista=strtotime('-30 Day', $fecha);
$fecharestada=date('Y-m-d',$fechalista);
print("$fecha");
?>
<br>
<?
print("$fecharestada");