Ver Mensaje Individual
  #4 (permalink)  
Antiguo 25/11/2010, 09:52
Rafagedon
 
Fecha de Ingreso: septiembre-2006
Mensajes: 97
Antigüedad: 17 años, 8 meses
Puntos: 1
Respuesta: Fecha hacia atras

Ola! Gracias a ambos, probé el de spider_boy....
y porqué dices que no te funciona con slash "/" ?

Código PHP:
echo date('d-m-Y'strtotime('last Month'strtotime(strftime("%d-%m-%Y"time())))); 
mira yo le puse los slash al principio no mas y me sale bien, me los lanza con slash
Código PHP:
echo date('d/m/Y'strtotime('last Month'strtotime(strftime("%d-%m-%Y"time())))); 
Por si sirve de algo