How many weeks were you when you delivered?

How many weeks were you when you delivered and how long did your baby stay in the hospital? Any complications?