Hi,
v9.6.6
Is there a built in function to calculate, for example, next Sunday?
For example,
postgres=# select current_date, next_dow(current_date, 'Sunday');
date | date
------------|------------
2019-01-31 | 2019-02-03
(1 row)
Thanks
--
Angular momentum makes the world go 'round.