Both male and female flowers grow in the same inflorescence. The female flowers open first, and only lasts (or is "receptive") about 12 to 24 hours. Then a day or two following, the male flowers open. This usually prevents the flower from self-pollinating.