Re: date_part

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-sql(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: date_part
Date: 2002-06-19 00:47:08
Message-ID: 200206181747.08201.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Rudi,

select to_char(date_column, 'Month');

See similar under "Formatting Function" in the docs.

--
-Josh Berkus

In response to

  • date_part at 2002-06-18 23:19:45 from Rudi Starcevic

Browse pgsql-hackers by date

  From Date Subject
Next Message Rod Taylor 2002-06-19 00:58:12 Re: Domains and Casting
Previous Message Hiroshi Inoue 2002-06-19 00:11:44 Re: SetQuerySnapshot, once again

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Goldberg 2002-06-19 01:28:55 Re: text vs varchar
Previous Message Kevin Brannen 2002-06-19 00:16:35 is it easy to change the create sequence algorithm?