Date question

From: Date: Tue, 24 Jun 2003 17:22:01 +0000
Subject: Date question
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-20534@lists.php.net to get a copy of this message
I am using php with sql server. I have a field expiration which is of type datetime. I add a date for the expiration as '06/24/03 09:09:09' using a web form. When i try to display the same expiration in an edit form using $row["expiration"] it displays it as 'Jun 24 2003 09:09 AM'. How can I display the date as the above without the conversion. If i see the database the date is in the format I added '06/24/03... but it displays it as June 24..... Please help. Thanks, Regards, Harpreet

« previous php.windows (#20534) next »