When do pumpkin vines grow pumpkins?

When the vine is ready it makes the pumpkins and thats when the pumpkins are on the vines.