#22457 [Opn->WFx]: gmmktime, gmdate bug

From: Date: Thu, 27 Feb 2003 14:44:14 +0000
Subject: #22457 [Opn->WFx]: gmmktime, gmdate bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34417@lists.php.net to get a copy of this message
ID: 22457 Updated by: iliaa@php.net Reported By: nospam at null dot dev -Status: Open +Status: Wont fix Bug Type: Date/time related Operating System: Windows 2000 PHP Version: 4.3.1 New Comment: In *nix systems you can modify the offset by specifying the TZ system variable. That said, gm* time/date functions will always return GMT time/date that is un affected by timezone settings. Previous Comments: ------------------------------------------------------------------------ [2003-02-27 08:08:09] nospam at null dot dev Please someone reopen bug ID 14391, which is currently on 'no feedback'. The gmmktime() & windows problem still persists on 4.3.0. We now go into the third year of this bug being around. Could this become a record??? Testcase: gmmktime(0,0,0,1,1,1970); MUST return 0, also on a win box that is not in GMT-Zone. Or then, PLEASE introduce URGENTLY a new function that allows the manual correction of the TZ: int gmmktime ( int hour, int minute, int second, int month, int day, int year [, int is_dst] [, int tz_offset]) because it boils down to the fact that the TZ-offset is the thing that is not detected correctly. --------- this note will also be posted to bug 14391, so you can remove this bug after reopening 14391!! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22457&edit=1

« previous php.bugs (#34417) next »