Check out example codes for "postgresql today - 1 year". It will help you in understanding the concepts better.

Code Example 1

select now() - INTERVAL '1 YEAR';

Learn ReactJs, React Native from akashmittal.com