mssql returnin type date all wrong
| From: | Christian Dechery | Date: | Wed, 04 Jul 2001 19:15:26 +0000 |
| Subject: | mssql returnin type date all wrong | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-56219@lists.php.net to get a copy of this message | ||
In a script I have a query that gets the time of a desired track. It is
in SQL Server table with the smalldatetime type, whihc returns me something
that looks like '2001-07-04 12:04:12', but PHP is giving me 'Jul 04 2001
12:04AM'.
Why does this happen?
I want the seconds, where are they???
. [ Christian Dechery ]
. Webdeveloper @ Tá Na Mesa!
. Listmaster @ Gaita-L
. http://www.tanamesa.com.br