Re: Mailing - Mailing list pgsql-general

From Todd P Marek
Subject Re: Mailing
Date
Msg-id 2FB02D52-16E0-11D9-8F90-000393823F90@somahq.com
Whole thread Raw
In response to Re: Mailing  (Kevin Barnard <kevin.barnard@gmail.com>)
Responses Re: Mailing  (Kevin Barnard <kevin.barnard@gmail.com>)
List pgsql-general
On Oct 5, 2004, at 10:00 AM, Kevin Barnard wrote:

> SELECT trim(leading '0'  from to_char(now(), 'HH:MM AM'))
>
> I think is what you really want.  This gets rid of the nasty leasing 0.

I wasn't even paying attention to the seconds.  I was in fact talking
about the leading 0.

Thanks to everyone and apologies for my oversight of the seconds clause.

Todd Marek


pgsql-general by date:

Previous
From: Kevin Barnard
Date:
Subject: Re: Mailing
Next
From: Csaba Nagy
Date:
Subject: Re: Mailing