Tema: Timestamp
Ver Mensaje Individual
  #5 (permalink)  
Antiguo 14/02/2010, 18:10
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: Timestamp

No falta el nombre de la tabla?

Código MySQL:
Ver original
  1. SELECT TIMESTAMPDIFF(MINUTE, fechaEnTabla, NOW()) from tu_tabla;
  2.  
  3. SELECT TIMESTAMPDIFF(MINUTE, fechaEnTabla, CURRENT_TIMESTAMP()) from tu_tabla;

saludos
__________________
Without data, You are another person with an opinion.
W. Edwads Deming