Re: [GENERAL] extracting date information?

From: Kevin Heflin <kheflin(at)shreve(dot)net>
To: "Jose' Soares Da Silva" <sferac(at)bo(dot)nettuno(dot)it>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] extracting date information?
Date: 1998-05-19 14:09:52
Message-ID: Pine.LNX.3.96.980519090745.7529B-100000@mercury.shreve.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 19 May 1998, Jose' Soares Da Silva wrote:

> If you use "datetime" type instead of "date" and set datestyle = 'Postgres'
> your data will be like: Sat Dec 12 00:00:00 1998 CET
> instead of: 1998-12-12

I actually stumbled across this after my initial post.

Now that my dates are being retreived in this format:
Sat Dec 12 00:00:00 1998 CET

Is there a way to format this to leave off the "time" portion and maybe
the "timezone" info ?

--------------------------------------------------------------------
Kevin Heflin | ShreveNet, Inc. | Ph:318.222.2638 x103
VP/Mac Tech | 333 Texas St #619 | FAX:318.221.6612
kheflin(at)shreve(dot)net | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jose' Soares Da Silva 1998-05-19 17:30:14 Re: [GENERAL] extracting date information?
Previous Message Jose' Soares Da Silva 1998-05-19 12:24:31 pg_dump error