date - Extract current fiscal week for current year in PostgreSQL -


i have table fields fiscal week , date in postgresql.

for eg: date 2015-10-10, has fiscal week values 1,2,3..39,40,41,42,etc , other dates 2014-10-10 has fiscal week values 1,2,3..39,40,41,42,etc , same year 2013-10-10 , on... want extract current fiscal week current year. there multiple fiscal week values different year , dates , should extract current fiscal week.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -