Re: formatting a date

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Zak McGregor <zak(at)mighty(dot)co(dot)za>, Fran Fabrizio <ffabrizio(at)Exchange(dot)WebMD(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: formatting a date
Date: 2001-05-11 09:45:52
Message-ID: 20010511114551.A23637@ara.zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 10, 2001 at 05:25:04PM -0400, Tom Lane wrote:
> Zak McGregor <zak(at)mighty(dot)co(dot)za> writes:
> > It pads the output of the month to 9 places, btw.
>
> You can suppress the padding with the right format-string incantation.
> See the docs.

Yes, use:

'FMMonth' (Fill Mode) instead 'Month'.

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message snpe 2001-05-11 12:04:18 Synonym
Previous Message Richard Huxton 2001-05-11 08:46:27 Re: Re: Query not using index