Re: MSSQL date format problem

From: Date: Mon, 14 Jul 2003 14:23:49 +0000
Subject: Re: MSSQL date format problem
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-29231@lists.php.net to get a copy of this message
believe or not, I solved it just by updating from PHP 4.3.1 to 4.3.2 :-) 5o Peter Misun wrote: > hi, > > I have seen solution for my problem, but I couldn't find and I'm in a hurry - please > help. > > Problem is, how to set default datetime format while using mssql functions? > With ODBC, there is format: yyyy-mm-dd hh:mm:ss[.fff] > but wih using db-library there is: mmm dd yyyy hh:mmxx where xx is either AM or PM > how to set default datetime format? > > I have used > ini_set("mssql.datetimeconvert","0"); > in my php scripts and it works fine for MSSQL 7, but not for MSSQL 2000 > > please help > > 5o -- Mgr. Peter Misun MicroStep-MIS, Ilkovicova 3, 841 04 Bratislava, Slovakia tel: +421/ 2/ 602 00 127, 111, fax: +421/ 2/ 602 00 180

« previous php.db (#29231) next »