is there a function that returns the number of weeks since the begining of the year or the number of days
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных