|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-10 06:25 UTC] cynic@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 15:00:02 2025 UTC |
I have PHP 4.2.0 installed on my WIN2K (Turkish Edition) server and I use SQL 7.0 Enterprise Edition. When I get data by query and try to format data as: $result=mssql_query("select * from table") while($row=mssql_fetch_object($result)) { $Mydate=date("d.m.Y",$row->Date_field); .... .... } unexpected error occurs because datafield's value comes as 13 Oca 2001 00:0 ( Oca means Januar in Turkish ) but I need it as 13/01/2002 for global application. I know why, but I can't find why?