Re: Date formats in 7.0b2 - Mailing list pgsql-admin

From Karel Zak
Subject Re: Date formats in 7.0b2
Date
Msg-id Pine.LNX.3.96.1000406122438.13674A-100000@ara.zf.jcu.cz
Whole thread Raw
In response to Date formats in 7.0b2  ("Hernan J. Gonzalez" <leonbloy@yahoo.com>)
List pgsql-admin
On Wed, 5 Apr 2000, Hernan J. Gonzalez wrote:

> I'm puzzled with the date formats in
> the 7.0b2 version. Perhaps I'm missing something
> trivial, (SQL standards?) but I have been using postgres
> from years, and never had this kind of problem.
>
> I use the -e switch, so that
> > dates passed to and from the
> > frontend processes will be
> > assumed to be in "European" format (DD-MM-YYYY)
> (from the postgres man page)
>
> Now, it seems that 7.0b2  accepts dates in this
> format  AS INPUT but the dates  in the OUTPUT
> are always in the YYYY-MM-DD  format ...
>


 You can use in 7.0 to_char() to_date() to_timestamp() functions for full
date-time format controlling or conversion.

                        Karel


pgsql-admin by date:

Previous
From: Tressens Lionel
Date:
Subject: changing the owner of a db
Next
From: Brad Bonkoski
Date:
Subject: Still Looking