AC blows warm air. Heater takes a long time to warm up?

The AC in my car blows warm air. The heater takes a long time to warm up even while driving. Is there something in the system that would cause both of these things?