DateTime is very finnicky with differences and timezones, but as you're using the same timezone in both elements, maybe you just need the ->delta_days method?
In reply to Re: Counting days with DateTime
by Corion
in thread Counting days with DateTime
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |