php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31565 Wrong Timezone Returned in Win2K
Submitted: 2005-01-16 05:21 UTC Modified: 2005-01-17 18:25 UTC
From: sani at loyolajesuit dot org Assigned:
Status: Not a bug Package: Date/time related
PHP Version: 4CVS-2005-01-16 OS: Win2K server/Win XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sani at loyolajesuit dot org
New email:
PHP Version: OS:

 

 [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-17 18:25 UTC] sniper@php.net
You have different timezone on the machines.
No bug here.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 02:01:30 2024 UTC