Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/04/2007, 04:02
Avatar de Lord of freaks
Lord of freaks
 
Fecha de Ingreso: octubre-2004
Ubicación: Madrid
Mensajes: 334
Antigüedad: 19 años, 6 meses
Puntos: 2
Re: Restar 2 fechas y obtener cuantas horas minutos y segundos han pasado

Prueba esto imagino que te valdrá

Código:
SELECT TIMEDIFF(fecha_campo, now()) as diferencia FROM tabla
Un saludo
__________________
Una vez un elemental de rayos mató una tribu entera de tritones.

¡¡ El sólo quería darse un baño !!

http://www.frikilandia.com

Neither Fu Nor Fa