php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8423 Date format in 4.0.3 and 4.0.4 is different for MSSQL
Submitted: 2000-12-26 11:13 UTC Modified: 2000-12-26 13:43 UTC
From: jlim at natsoft dot com dot my Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.4 OS: Windows 98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 + 29 = ?
Subscribe to this entry?

 
 [2000-12-26 11:13 UTC] jlim at natsoft dot com dot my
The standard data format in all database extensions previously was YYYY-MM-DD hh:ii:ss

The lastest version appears to change it to the following:

  27 Dec 2000 12:00AM 


Using the TSQL command SET DATEFORMAT YMD does not change it back to y-m-d.  The only other thing I can think of is that I recently upgraded to MDAC/ADO 2.6. Would that cause a problem?



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-26 13:43 UTC] jlim at natsoft dot com dot my
Sorry not a bug in PHP. A bug in my brain. Please close.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 22:01:31 2024 UTC