Re: date - Mailing list pgsql-sql

From Tom Lane
Subject Re: date
Date
Msg-id 21046.1139590788@sss.pgh.pa.us
Whole thread Raw
In response to Re: date  (Ken Hill <ken@scottshill.com>)
List pgsql-sql
Ken Hill <ken@scottshill.com> writes:
> On Fri, 2006-02-10 at 07:38 +0100, A. Kretschmer wrote:
>> You can't define the format in the db, but you can define the
>> output-format with to_char(date, 'DD-MM-YYYY');

> You could also try using the data_part() function:

Setting the DateStyle parameter may also be of use, particularly on the
input side.
        regards, tom lane


pgsql-sql by date:

Previous
From: Ken Hill
Date:
Subject: Re: query
Next
From: Ken Hill
Date:
Subject: Deleting rows in a file based on condition