Ver Mensaje Individual
  #6 (permalink)  
Antiguo 02/11/2012, 11:25
Avatar de CoriaWeb
CoriaWeb
 
Fecha de Ingreso: septiembre-2012
Ubicación: Coria del Río - Sevilla
Mensajes: 1.795
Antigüedad: 11 años, 8 meses
Puntos: 130
Respuesta: Compara fechas

prueba con esto y me cuentas:

Código PHP:
Ver original
  1. $fecha1 = "12/05/2001";
  2. $fecha2 = "15/06/2002";
  3.  
  4. if ( strtotime($fecha1) < strtotime($fecha2)  ) {
  5. //aqui lo que hagas
  6. }
__________________
Hosting de Calidad
Servidores Dedicados Administrados
CoriaWeb.hosting