ID: 22457 Updated by: [EMAIL PROTECTED] 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