Shane McCarron wrote: >Wow - sounds like a bug to me. Ick. A bug in what, though? DateTime->today is documented to behave like a truncate-to-day operation, which implies setting to 00:00 local time. Do you want to change the semantics of truncate? Or make ->today cleverer? Or is ->today the wrong approach for this application?
Most timezones avoid changing offset at midnight, in order to avoid this kind of issue. It's handy for midnight to always be well defined. So is this a bug in Egyptian DST rules? -zefram