datetime on MSSQL doesn't work with PHP

From: Date: Sun, 08 Jul 2001 21:22:17 +0000
Subject: datetime on MSSQL doesn't work with PHP
Groups: php.general 
Request: Send a blank email to php-general+get-56806@lists.php.net to get a copy of this message
why does PHP converts the 'datetime' and 'smalldatetime' types of MSSQL to a 'prettier' output? in the table I have '2001-07-01 12:45:01' but when I run a query in PHP to get it I recieve 'Jul 7 2001 12:45AM'. I didn't ask for that... I want the exact value in the field with seconds and all, not a converted value. How can I prevent this? ____________________________ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer

« previous php.general (#56806) next »