Your timestamps should be in UTC, and therefore not effected by daylight savings.
- Ben Nathan Cassano wrote: > Hello fellow PHPer's, > Daylight savings is soon upon most of us and I have some > questions in regard to timestamps. My problem: So we put our clocks an > hour back. I have database tables with plain integers that store > timestamps. I like to do comparison operations with these timestamps. > When daylight savings takes effect the pre-daylight savings timestamps > are an hour ahead of the daylight saving timestamps and cause time > operations to calculate incorrectly. What is the solution? Could I > offset the new timestamps to ignore daylight savings, make all my > timestamps none-daylight savings timestamps? > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]