Ver Mensaje Individual
  #4 (permalink)  
Antiguo 12/07/2012, 13:15
Death_Empire
 
Fecha de Ingreso: febrero-2010
Mensajes: 818
Antigüedad: 14 años, 2 meses
Puntos: 55
Respuesta: Restar meses a una fecha (date)

funcion date y strtotime
Código PHP:
<?php
$fecha 
=date(Y-m-d);
echo 
date("Y-m-d"strtotime("$fecha - 6 month"));  
?>