Actually the magisterium has this to say
" 159. Faith and science: "... methodical research in all branches of knowledge, provided it is carried out in a truly scientific manner and does not override moral laws, can never conflict with the faith, because the things of the world and the things of faith derive from the same God. The humble and persevering investigator of the secrets of nature is being led, as it were, by the hand of God in spite of himself, for it is God, the conserver of all things, who made them what they are." (Vatican II GS 36:1)
283. The question about the origins of the world and of man has been the object of many scientific studies which have splendidly enriched our knowledge of the age and dimensions of the cosmos, the development of life-forms and the appearance of man. These discoveries invite us to even greater admiration for the greatness of the Creator, prompting us to give him thanks for all his works and for the understanding and wisdom he gives to scholars and researchers....
284. The great interest accorded to these studies is strongly stimulated by a question of another order, which goes beyond the proper domain of the natural sciences. It is not only a question of knowing when and how the universe arose physically, or when man appeared, but rather of discovering the meaning of such an origin...."
I don't know where you went to Sunday school, but its obvious that they aren't acting on the behalf of the Vatican. So you are a heretic and should be excommunicated. I'm no longer a Catholic, and I still know more about the Church than you do.
Welcome to the dark side, we've got scholarly peer-reviewed research papers with documentation of evidence.