PostgreSQL Connect: 0: ERROR: operator does not exist: timestamp with time zone - integer
LINE 1: ...TE('01.01.1970','dd.mm.yyyy') AND d.date_off>now()-1 ORDER B...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.