Bug #12655: date-format problem
| From: | thomas dot winkler at jawa dot at | Date: | Wed, 08 Aug 2001 16:02:35 +0000 |
| Subject: | Bug #12655: date-format problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-62578@lists.php.net to get a copy of this message | ||
From: thomas.winkler@jawa.at
Operating system: Win2k
PHP version: 4.0.6
PHP Bug Type: MSSQL related
Bug description: date-format problem
webserver: IIS5 (Win2k)
php-version: php4.0.6 (CGI)
db-server: MS SQL Server 2000
I've run into problems when fetching fields of type datetime from the
database.
When using the MS SQL Query Analyzer I get the dates formated like this out
of the database:
2001-06-08 08:14:40.000
When using php to send my queries (mssql_query) to the database I get the
dates formated like this: 08 06 2001 8:14
In my application I'd need the same format as i get it in the
Query-Analyzer.
--
Edit bug report at: http://bugs.php.net/?id=12655&edit=1