Ver Mensaje Individual
  #9 (permalink)  
Antiguo 14/03/2009, 00:18
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: Fechas con hora y minutos.

Cita:
Yo tengo lo mismo:

"FECHA_HORA" time without time zone DEFAULT now()


he incluso poniendo yo a mano el now en la query...

Y me guarda solo la hora...pero la fecha no...

"09:37:22.796"

¿que hago mal?
EL error está en que la declaración la haces como time.
prueba con
"FECHA_HORA" timestamp without time zone DEFAULT now()

Un saludo