4 ms·
Try it again, except looking for months. You'll get -11 instead of 1.
by btilly 5y ago
Try it again, except looking for months. You'll get -11 instead of 1.
- castorp 5y agoselect extract(month from justify_interval(timestamp '2022-01-01' - timestamp '2021-11-01')) returns 2