You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
strtotime give wrong value for ("2024-04-01") or ("2024-03-31") : visible when making a substraction #13066
A number of countries and timezones had a DST transition on March 31st, such as the one you're using. For them the day was, in fact, 82800 seconds long.
Activity
damianwadley commentedon Jan 2, 2024
A number of countries and timezones had a DST transition on March 31st, such as the one you're using. For them the day was, in fact, 82800 seconds long.
damianwadley commentedon Jan 2, 2024
I don't know what you're trying to do but I expect that code there will be very, very incorrect.
Dates are hard. Might I suggest looking for help on StackOverflow or elsewhere?