pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aaron Bono <postgresql@aranya.com>
To: chester c young <chestercyoung@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: to_char with time
Date: Tue, 13 Jun 2006 23:27:12 -0500
Message-ID: <bf05e51c0606132127ra93b6ecv96f7085f977c5b2@mail.gmail.com> (raw)
In-Reply-To: <20060614040934.1411.qmail@web54313.mail.yahoo.com>
References: <20060614040934.1411.qmail@web54313.mail.yahoo.com>

Try select to_char(now(),'HH24:MI');

-Aaron

On 6/13/06, chester c young <chestercyoung@yahoo.com> wrote:
> this does not work: select to_char(current_time,'HH24:MI')
>
> what am I missing?  is it possible to format a time column in a select?
>
> thanks,
> stumped, aka, chester



view thread (3+ messages)  latest in thread

Message-ID: <bf05e51c0606132127ra93b6ecv96f7085f977c5b2@mail.gmail.com>
Permalink:  ../bf05e51c0606132127ra93b6ecv96f7085f977c5b2@mail.gmail.com/
Also on:    postgresql.org/message-id/bf05e51c0606132127ra93b6ecv96f7085f977c5b2@mail.gmail.com

 · 

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: postgresql@aranya.com, chestercyoung@yahoo.com
  Subject: Re: to_char with time
  In-Reply-To: <bf05e51c0606132127ra93b6ecv96f7085f977c5b2@mail.gmail.com>

* 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