***
Yes, because Padme went into labor the moment Palpatine found Anakin.
Like I said, I don't recall what established the time. As I recall there's a wipe to the locatoins where Anakin and Padme are taken. Then we see each of them laid out on tables. Then some more cutting and things change-- including Padme going from definitely NOT in labor to being in labor.
I can only say that for me, the problems with the PT lay in much deeper things than this. I enjoyed ROTS because it actually told a story-- however much it fails to connect with the OT. That boat sailed for me when ROTJ came out and sucked.