No land shall be occupied or used and no buildings hereafter placed, erected or altered shall be occupied or used in whole or in part for any purpose whatsoever until a certificate of occupancy shall have been issued by the Building Inspector stating that the use and building therein specified, or either of them as the case may be, complies with all the provisions of this chapter. Such certificates of occupancy shall be granted or denied within 10 days after the date written application therefor has been received by the Building Inspector.