How long did they tell you to fast for your C-section?

3👼🌈💖2018🌈💙2020💖2021💙2023 • God's timing is perfect🙏⛪

I am due to get my C-section on Wednesday and I just got the call from the hospital. They told me to stop eating at 12 o’clock midnight the day before I have been watching a lot of videos and I see some of the girls that have C-section scheduled for later in the day like myself. It is scheduled for 2:45 but I have to be there at 12:45 they have eaten with only an eight hour fasting window, so am I safe to eat at 7 o’clock in the morning because my surgery is not scheduled till 2:45 in the afternoon

Update: For the people that wanna comment with smart remarks or ridiculous emojis, im only asking because I have gestational diabetes and I take insulin before bed if I don’t eat after a certain time I will get nauseated and feel sick to my stomach to all the sweet ones. Thank you so much for being kind.