pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Judith <jaltamirano@correolux.com.mx>
To: pgsql-sql@postgresql.org
Subject: Question about time
Date: Thu, 16 Nov 2006 10:14:07 -0600
Message-ID: <455C8E4F.5060406@correolux.com.mx> (raw)

    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!!!




view thread (4+ messages)  latest in thread

Message-ID: <455C8E4F.5060406@correolux.com.mx>
Permalink:  ../455C8E4F.5060406@correolux.com.mx/
Also on:    postgresql.org/message-id/455C8E4F.5060406@correolux.com.mx

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jaltamirano@correolux.com.mx
  Subject: Re: Question about time
  In-Reply-To: <455C8E4F.5060406@correolux.com.mx>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox