|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2003-01-09 12:22 UTC] fmk@php.net
  [2003-01-25 01:00 UTC] php-bugs at lists dot php dot net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 22:00:01 2025 UTC | 
When setting: ini_set('mssql.datetimeconvert', 0); fields of type 'smalldatetime' are still converted to a local date format. The above setting only seems to apply to fields of type 'datetime'. For example, leaving 'mssql.datetimeconvert = 1' and displaying two fields DATETIME and SMALLDATETIME would result in: Dec 31 2002 12:00AM // DATETIME Dec 31 2002 12:00AM // SMALLDATETIME whereas, setting 'mssql.datetimeconvert = 0' would result in: 2002-12-31 00:00:00 // DATETIME Dec 31 2002 12:00AM // SMALLDATETIME See also: http://bugs.php.net/bug.php?id=12655