Alternatively, use the correct time zone (-0800 instead of America/Los_Angeles).
-0800 (PST) is only the correct time zone at 2016-03-13 01:59:59. One second later, the correct time zone is -0700 (PDT). Except of course whenever DST and time zones are changed by law.
Using location-based time zone names (America/Los_Angeles) eliminates this issue.
In reply to Re^4: DateTime Invalid local time for date in time zone
by haukex
in thread DateTime Invalid local time for date in time zone
by sannag
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |