MSSQL date format problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux