Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/09/2012, 12:51
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 1 mes
Puntos: 300
Respuesta: Base de datos: Date esta en blanco

No, creo que no has entendido. Se trata de que crees un campo tipo TIMESTAMP con estas características. Mira el ejemplo
ALTER TABLE `tutabla` ADD `fechaautomatica` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP

Y ya al insertar, tendrás la fecha hora del servidor.
Otros recomiendan usar trigger

Echa vistazo aquí:
http://stackoverflow.com/questions/1...atetime-column