Sleeping w a newborn

How long did you babies sleep in the bassinet for before going to the crib?