How does a planned c section work?

I have a planned c section, this month how long does the whole procedure take?