ID: 35632 Updated by: [EMAIL PROTECTED] Reported By: vbassasssin at coderheaven dot com -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Windows XP PHP Version: 4.4.1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. RTFM Previous Comments: ------------------------------------------------------------------------ [2005-12-11 16:43:17] vbassasssin at coderheaven dot com Description: ------------ Hi ya, Why does (code below in "reproduce code") give the year of 2004 instead of 2005 when i enter date("Y", time()) which gives the date 2005. The timestamp generated is for 2004! I have checked my server time and that is correct and 2005. Best regards, scott Reproduce code: --------------- $timestamp = mktime( 0, 0, 0, date("F", time()), date("j", time()), date("Y", time())); print "Query Timestamp: $timestamp --- " . date("jS F Y", $timestamp) . "<br />"; Expected result: ---------------- Todays date! With this years year of 2005 and not 2004! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35632&edit=1