Cita:
Iniciado por Sotelio
Hola
Prueba con strtotime()
http://php.net/strtotime
Código PHP:
$fecha1 = "2010-03-01 02:04:10";
$fecha2 = "2010-03-01 02:20:10";
if (strtotime($fecha1) > strtotime($fecha2)) {
echo "SI";
}
Suerte
Sotelio
Gracias, y para la hora es lo mismo?