Posted by Geoff Berrow on 03/29/06 19:58
Message-ID: <442aba31$0$6961$ed2619ec@ptn-nntp-reader02.plus.net> from
Michael J Martin contained the following:
>I think it's something to do with the Daylight time saving. But
>nonetheless it's still a bug because PHP should take this into account
>as 'last Sunday' was definitely the 26 March 2006.
But what you are getting is the date 'last Sunday' started relative to
now.
I had a similar problem with a script I wrote for a client. It insisted
on saying that Mother's day (UK) was on a Saturday.
As you've discovered, you just have to move the point away from the
changeover time.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|