SyntaxFix
Write A Post
Hire A Developer
Questions
in postgres, assuming your field type is a timestamp:
select * from table where date_field > (now() - interval '24 hour');