there is surprisingly little on the internet on converting a date that\'s in the Julian format YYYYDDD to YYYYMMDD. Does anyone know how to do it in PostgreSQL?