date (d-m-Y) - Mailing list pgsql-novice

From Patrick Coulombe
Subject date (d-m-Y)
Date
Msg-id 39578DEA.5FCA6D85@mediacces.com
Whole thread Raw
List pgsql-novice
Hi,

I use php to insert date in my database :
$save = date("d-m-Y");

After this insert, I select it to see if all is ok, but the date is now
("m-d-Y")...
I do a : SET DATESTYLE TO 'European' - but my php page show again :
m-d-Y.
And if I quit psql - my database return to US.

How could I fix that?

Patrick

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] FATAL 1: Database dbname=template1 does not exist in pg_database
Next
From: Thomas Swan
Date:
Subject: Finding the names of inheriting classes