#31565 [Opn->Bgs]: Wrong Timezone Returned in Win2K

From: Date: Mon, 17 Jan 2005 17:25:22 +0000
Subject: #31565 [Opn->Bgs]: Wrong Timezone Returned in Win2K
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72300@lists.php.net to get a copy of this message
ID: 31565 Updated by: sniper@php.net Reported By: sani at loyolajesuit dot org -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Win2K server/Win XP PHP Version: 4CVS-2005-01-16 New Comment: You have different timezone on the machines. No bug here. Previous Comments: ------------------------------------------------------------------------ [2005-01-16 05:21:06] sani at loyolajesuit dot org Description: ------------ I have a duplicate PHP installation on a Windows 2000 Server and Windows XP systems. When I ussue date('r') command on Windows XP this is the output: COMMAND: print(date("r")); OUTPUT: Sun, 16 Jan 2005 05:09:48 +0100 However on Windows 2000, I get a different result: COMMAND: print(date("r")); OUTPUT" Sun, 16 Jan 2005 04:09:52 +0000 I'll appreciate any help resolving this issue. Sani. Reproduce code: --------------- print(date("r")); Expected result: ---------------- Sun, 16 Jan 2005 05:09:48 +0100 Actual result: -------------- On Windows 2000: Sun, 16 Jan 2005 04:09:48 +0000 On Windows XP: Sun, 16 Jan 2005 05:09:48 +0100 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31565&edit=1

« previous php.bugs (#72300) next »