Hi guys,

I got the tasks table that has the tasks_start column:

> tasks_start        | timestamp(3) without time zone



select tasks_start from tasks LIMIT 1;

> tasks_start
> -------------------
> 2016-08-10 00:30:00


 I'm trying to cast the date, using this query:

> SELECT cast(tasks_start as date) FROM "jobs" WHERE "tasks"."deleted" = 'f'
> AND "tasks"."recurrence_id" = 1 AND (Date(tasks_start) in ('2016-08-10')


but it doesn't work.. I get 0 rows... what am I doing wrong?

cheers
Patrick

Reply via email to