Re: [PHP] Date weirdness

2013-04-18 Thread Larry Martell
On Thu, Mar 28, 2013 at 3:40 PM, Larry Martell wrote: > On Thu, Mar 28, 2013 at 2:44 PM, Steven Staples wrote: >>> I think I am losing my mind. I have some time zone converting code, and I >>> just don't understand what I am seeing. Also my system seems to return the >>> wrong time after I do som

Re: [PHP] Date weirdness

2013-03-28 Thread Larry Martell
On Thu, Mar 28, 2013 at 4:55 PM, Maciek Sokolewicz wrote: > On 28-3-2013 22:40, Larry Martell wrote: >> >> On Thu, Mar 28, 2013 at 2:44 PM, Steven Staples wrote: I think I am losing my mind. I have some time zone converting code, and I just don't understand what I am seeing. A

Re: [PHP] Date weirdness

2013-03-28 Thread Maciek Sokolewicz
On 28-3-2013 22:40, Larry Martell wrote: On Thu, Mar 28, 2013 at 2:44 PM, Steven Staples wrote: I think I am losing my mind. I have some time zone converting code, and I just don't understand what I am seeing. Also my system seems to return the wrong time after I do some date operations on unre

Re: [PHP] Date weirdness

2013-03-28 Thread Larry Martell
On Thu, Mar 28, 2013 at 2:44 PM, Steven Staples wrote: >> I think I am losing my mind. I have some time zone converting code, and I >> just don't understand what I am seeing. Also my system seems to return the >> wrong time after I do some date operations on unrelated objects. >> >> This is from a

RE: [PHP] Date weirdness

2013-03-28 Thread Steven Staples
> I think I am losing my mind. I have some time zone converting code, and I > just don't understand what I am seeing. Also my system seems to return the > wrong time after I do some date operations on unrelated objects. > > This is from a machine that is in eastern time. I want to convert to, for

Re: [PHP] date weirdness

2007-09-18 Thread Robert Cummings
On Tue, 2007-09-18 at 15:32 -0500, Greg Donald wrote: > I have extracted a small portion of a calendar application I developed > recently to show some strange behavior with the date() function. When I > run this I get duplicate dates occasionally down the list. I'm seeing > 11/4 twice for example

Re: [PHP] date weirdness

2007-09-18 Thread Andrew Ballard
> I'm seeing > 11/4 twice for example. Sometimes dates are missing from the list. The > results change from day to day. > That would be DST. The number of seconds per day changes on Nov. 4, 2007 in the US local time zones. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit