Ver Mensaje Individual
  #11 (permalink)  
Antiguo 01/04/2014, 02:32
Avatar de Eleazan
Eleazan
 
Fecha de Ingreso: abril-2008
Ubicación: Ibiza
Mensajes: 1.879
Antigüedad: 16 años, 9 meses
Puntos: 326
Respuesta: imprimir la fecha pero restandole 1 mes

Personalmente, me gusta usar strtotime:

Código PHP:
echo date("m-Y"strtotime("-1 month")); 
O bien, usar el objeto DateTime() ;)
__________________
>> Eleazan's Source
>> @Eleazan