Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/10/2007, 14:19
Avatar de ferbux
ferbux
 
Fecha de Ingreso: mayo-2007
Ubicación: por ahí intentado ayudar
Mensajes: 823
Antigüedad: 17 años, 10 meses
Puntos: 6
Re: Problema Comparar fechas

Hola puedes compararlas usando la funcion strtotime():

algo asi:

$f1 = strtotime( $fechainicio );
$f2 = strtotime( $fechavencimiento );

if($f1>$f2){echo "esto no se puede"; }
__________________
"Eres grande por que caminas entre gigantes"