Schedule c section mommas

I was told my c section would be scheduled at 39 weeks . I get to pick the day, time, and doctor. Now my question is if I am 39 weeks on say a Sunday would they let me schedule it for a Friday which would be two days before I'm 39 weeks or is that not allowed ? Just curious .. I will ask my doctor but I don't go back for another week n 1/2.