Bug #52577 [Asn->Bgs]: Incorrect date returning
Edit report at http://bugs.php.net/bug.php?id=52577&edit=1
ID: 52577
Updated by: derick@php.net
Reported by: vadimx at gmail dot com
Summary: Incorrect date returning
-Status: Assigned
+Status: Bogus
Type: Bug
Package: Date/time related
Operating System: Windows
PHP Version: 5.3.3
Assigned To: derick
Block user comment: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Because Unix time is always measure in seconds since 1970-01-01 00:00
*GMT*.
Previous Comments:
------------------------------------------------------------------------
[2010-08-30 17:40:38] derick@php.net
Automatic comment from SVN on behalf of derick
Revision: http://svn.php.net/viewvc/?view=revision&revision=302889
Log: - Test for (non-)bug #52577.
------------------------------------------------------------------------
[2010-08-11 09:50:25] vadimx at gmail dot com
When i use date_default_timezone_set('UTC'), all ok. But in doc "Note:
The
$timezone parameter and the current timezone are ignored when the $time
parameter
either is a UNIX timestamp (e.g. @946684800) or specifies a timezone
(e.g. 2010-
01-28T15:00:00+02:00).". why timezone affect to unixtime?
------------------------------------------------------------------------
[2010-08-11 01:08:08] felipe@php.net
For example, using date_default_timezone_set('UTC'); I cannot reproduce
it.
But using your timezone I got same result.
------------------------------------------------------------------------
[2010-08-11 00:57:51] vadimx at gmail dot com
date_default_timezone_set('Europe/Kiev');
But, i try change timezone, but this no effect.
------------------------------------------------------------------------
[2010-08-11 00:44:17] felipe@php.net
What timezone are you using?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=52577
--
Edit this bug report at http://bugs.php.net/bug.php?id=52577&edit=1
Thread (6 messages)