Ask a Question related to PHP Development, Design and Development.
-
patt_jam at hotmail dot com #1
#13984 [Com]: date(I) does not correctly identify daylight saving time
ID: 13984
Comment by: patt_jam at hotmail dot com
Reported By: bmplummer1 at home dot com
Status: Bogus
Bug Type: Date/time related
Operating System: Windows NT/XP
PHP Version: 4.0.6
New Comment:
Arizona really need to observe DST during the summer between April and
October. To assure that they'll have a good taste of having
daylight/twilight later in the evening if the government allow to use
DST which means still on the MST. However, since Arizona do not observe
DST which means they are on California time (PST) will get dark early
and California will still have daylight a little while longer. If
Arizona were smart enough, they can tell the local government to move
the clock 1 hour foward and still be on MST, not on PST. The Indian
Reservation do observe daylight savings is on MST and the rest of the
state is on PST. You may want to check on [url]www.sunrisesunset.com[/url] and
most of USA have daylight after 8pm. Best if the people in the state of
Arizona to persuade the government or vote.
Previous Comments:
------------------------------------------------------------------------
[2001-11-07 16:23:26] [email]jimw@php.net[/email]
in a timezone that does not observe daylight savings time, there is no
such thing as a time within daylight savings time. not all timezones
that observe daylight savings time observe the same dates for time
changes. so if you want to know if a particular data/time falls within
daylight savings time *in a particular time zone* you have to set the
timezone.
this is not a bug. this is not an issue. it is just how daylight
savings time works.
------------------------------------------------------------------------
[2001-11-07 16:05:34] bmplummer1 at home dot com
From Bug #13900
date("I") does not identify if a date occurs during daylight saving
time correctly.
[2001-11-06 00:20:42] [email]jimw@php.net[/email]
if you want to check if a date occurs during daylight savings time, you
have to set your
timezone to one that observes daylight savings time. (ie.
putenv("TZ=PST8PDT"))
there's no bug here.
---------------------------------------------------------
There may not be a bug but there is a issue here. What about timezones
that don't observe daylight saving time (Like the entire state of
Arizona)? Are the millions of us that fall under that category just
out of luck?
By the way, Arizona is the home of the World Series Champion
Diamondbacks!
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=13984&edit=1[/url]
patt_jam at hotmail dot com Guest
-
Mac OS X Installer doesn't correctly identify my system
The Flash Player 9 Installer quits with the message that I have to install the intel mac version, but I don't have an intel mac! It's an ordinary... -
Mac OS X Installer doesn't correctly identify mysystem
I figured out a work around. 1) Download the installer dmg file 2) Load the DMG 3) Copy the installer from the loaded DMG to your Desktop 4)... -
Flex 2 Beta 3 date & daylight savings time issue
I have created an addDay method which takes a date as a parameter and then adds 34 * 60 * 60 * 1000 to it, creates a new date and returns it, but... -
Saving current date and time in ASP and ACCESS
Hi all, Im developing a simple web page and Im new to ASP. I want to save the current date and time in my MS ACCESS table I have a field in... -
#25981 [Opn->Bgs]: strtotime() returns incorrect date (near daylight saving time change)
ID: 25981 Updated by: sniper@php.net Reported By: hazen at edsbits dot com -Status: Open +Status: ...



Reply With Quote

