|
Posted by Geoff Berrow on 03/29/06 22:40
Message-ID: <1143660234.737193.40730@i40g2000cwc.googlegroups.com> from
Mike contained the following:
>I'm still unconvinced that it's not a bug though, I think strtotime()
>should take that into account and produce the appropriate timestamp
>which would result in the date being the 26 March. Simply because I
>wanted to know what the timestamp was for 'last Sunday' and anything
>which produces a timestamp for anything that's not last Sunday is wrong
>IMHO.
To be fair, the documentation does say that strtotime only /attempts/ to
give the correct timestamp. I suppose the problem is that daylight
saving is not universal. However, if my desktop computer knows when it
is, so I'll take your point that my server should also.
Does mktime() have the same problem?
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
Navigation:
[Reply to this message]
|