The Flatirons are part of a rock unit known as the Fountain Formation. These rocks are sedimentary—that is, rocks that have been formed by broken fragments of older rock. The Fountain Formation was deposited approximately 280 million years ago, during a time geologists refer to as the Pennsylvanian Period.
Hope this helps!