Compare Dates in Script Query

Solved: Comparison (<) not supported on datetime fields anymore since upgrade to 6.1