Lesson 6.3 · Pro

Date math: add, subtract, look back

Move dates forward and back, and filter "the last N days" the Postgres way.

In this lesson

  1. Add or subtract an interval
  2. Add or subtract days from a date
  3. "The last N days" from a fixed date
  4. Days between two dates