Date and Timestamp Operators

* Avoid year, month and other imprecise units.


Four Ways to Subtract Timestamps

  1. timestamptz - timestamptz
  2. timestamptz +/- interval
  3. age function
  4. epoch +/- epoch

Container Types