|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-08-21 14:30 UTC] fmk@php.net
[2006-08-21 16:07 UTC] fmk@php.net
[2006-08-29 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 09:00:01 2025 UTC |
Description: ------------ Hi! MYSQL version: MySQL 5.0.22-Debian_1.dotdeb.1-log PHP version: PHP Version 5.0.5-Debian-0.8~sarge1 (Debian GNU/Linux) After fetching data, the date was 1 month lesser than the current system date. Tested with SQL Query Analyzer the date was correct. If converted the date, was correct... "SELECT convert(varchar(50), getdate(), 102)" Best regards: Kecso Reproduce code: --------------- $r = mssql_query("SELECT getDate();"); print_r(mssql_fetch_Assoc($r)); Expected result: ---------------- " Array ( [computed] => 2006-08-18 17:07:05 ) " Actual result: -------------- " Array ( [computed] => 2006-07-18 17:07:05 ) "