date (d-m-Y)

From: Patrick Coulombe <pcoulombe(at)mediacces(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: date (d-m-Y)
Date: 2000-06-26 17:07:54
Message-ID: 39578DEA.5FCA6D85@mediacces.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-novice by date

  From Date Subject
Next Message Richard 2000-06-26 18:09:42 Phantom record problem.
Previous Message Ryan Ho 2000-06-26 16:46:30 How to install perl module without root access