RE: Date Format - Mailing list pgsql-sql

From Francis Solomon
Subject RE: Date Format
Date
Msg-id NEBBIFFPELJMCJAODNPKEEOECDAA.francis@stellison.co.uk
Whole thread Raw
In response to Date Format  ("Daniel Hentges" <danielh@fockink.ind.br>)
List pgsql-sql
Hi Daniel,

Try this as your query:

SELECT to_char(field, 'DD/MM/YYYY') AS "new name";

Hope this helps

Francis Solomon

>
> In MS Access is:
>      SELECT FORMAT([field],'DD/MM/YYYY') AS new name;
> How I can make in pgaccess?
>
> Daniel Hentges
> Automação
> Fockink In. Eletricas Ltda.
> Panambi - RS - Brasil
>
>



pgsql-sql by date:

Previous
From: "Daniel Hentges"
Date:
Subject: Date Format
Next
From: Borek Lupoměský
Date:
Subject: Re: SQL parse error