Ver Mensaje Individual
  #5 (permalink)  
Antiguo 16/01/2012, 08:08
gus_anomaly
 
Fecha de Ingreso: noviembre-2009
Mensajes: 381
Antigüedad: 14 años, 5 meses
Puntos: 6
Respuesta: Fecha con strtotime

Ah clarisimo, como lo ve?

Código PHP:
Ver original
  1. $fecha_act = date("D");
  2.     if($fecha_act == "Mon"){
  3.         echo $last_mon = date("d-m-Y");
  4.     }else{ 
  5.         echo $last_mon       =  date("d-m-Y", strtotime("last Monday"));
  6.     }

Muchisimas gracias!!!
Gustavo.