postgresql7.1 current_timestamp between to_date(attributes.release_date, 'Month DD, YYYY') and to_date(attributes.archive_date, 'Month DD, YYYY') current_timestamp >= to_date(attributes.archive_date, 'Month DD, YYYY') to_date(attributes.release_date, 'Month DD, YYYY') desc