Hi everyone I'm doing a query like this: SELECT CAST(fecha_hora_factura as time) FROM nota_venta
and I get: 14:16:52.824395 the field is timestamp type....... I just want the HOUR:MINUTE:SECOND the question is how I drop the millisecond?? Thnx in advanced!!! ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq