I have got a problem comparing two dates:
First date (see debug upper) is the output of Time::now();
Second date (see debug lower) is the output of a database field.
Now if i check, if the second date “->isPast()” it returns false. I think this happens because of the time difference between UTC and Europe/Vienna (+02:00 i guess?).
I tried to set the timezone at the datasource setting -> “+02:00”, but it makes no difference.
Any suggestions to fix this?