php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31566 Wrong Timezone Returned in Win2K
Submitted: 2005-01-16 05:21 UTC Modified: 2005-01-16 11:37 UTC
From: sani at loyolajesuit dot org Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 4CVS-2005-01-16 (stable) OS: Win2K server/Win XP
Private report: No CVE-ID: None
 [2005-01-16 05:21 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-16 11:37 UTC] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Dup of bug #31565
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 13:01:30 2024 UTC