1--yesterday
2SELECT NOW() - INTERVAL '1 DAY';
3
4--Unrelated to the question, but PostgreSQL also supports some shortcuts:
5SELECT 'yesterday'::TIMESTAMP, 'tomorrow'::TIMESTAMP, 'allballs'::TIME;
1SELECT current_timestamp - interval "3 days";
2-- 2020-06-24 08:25:31.759993 America/Los_Angeles
3