From: Rudi Starcevic <rudi@oasis.net.au>
To: pgsql-sql@postgresql.org
Subject: date_part
Date: Wed, 19 Jun 2002 09:19:45 +1000
Message-ID: <3D0FC011.4010509@oasis.net.au> (raw)
Hi,
When using the date_part function is it possible to get the month name
and not the month number ?
I'm using something like 'date_part('month', birth_date)' - birth_date
being a date data type.
Currently I'm getting numbers from 1 to 12 whereas I'd like the full
name like 'June' or 'July' etc.
Thanks
Rudi.
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: rudi@oasis.net.au
Subject: Re: date_part
In-Reply-To: <3D0FC011.4010509@oasis.net.au>
* 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