Check out example codes for "psql datetime grather than". It will help you in understanding the concepts better.

Code Example 1

SELECT *
FROM table
WHERE update_date >= '2013-05-03'::date
AND update_date < ('2013-05-03'::date + '1 day'::interval);

Learn ReactJs, React Native from akashmittal.com