Possible Duplicate:
One hour difference, but only for some dates
Why:
strtotime('2012-11-01 00:00:00') - strtotime('2012-10-01 00:00:00')
is returning:
2674800
When the right value is:
2678400
is missing one hour.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Because your locale (as defined by
date.timezonein php.ini) probably experienced a time change sometime in October, due to daylight savings time.