It will leave between 24 to 72 hours. Depending on when you had the baby.(In other words it will take a while).
Heres a solution-Wait until 7:00 comes after you got your baby, set your clock to 11:59, your tamagotchi should be asleep and don't forget to turn off the light.
Wait a minute and...