
30/09/2005, 20:40
|
 | | | Fecha de Ingreso: octubre-2003 Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 21 años, 4 meses Puntos: 11 | |
Usa la funcion unix_timestamp()
$fecha="2005-09-04 22:23:00";
$sql="select * from tabla where unix_timestamp(campo)<=unix_timestamp($fecha)"; |