C-Section Schedule 38 weeks

Did anyone have their Csection scheduled for 38 weeks? Was baby healthy and did everything go good? We are scheduling mine for 38 weeks, but i keep reading articles about how thats "dangerous".