When it finishes flowering ... are you left with thorny type pods, with the new seeds in.
They drop and re-seed for next year's plant.
If the flowers are open at night or dull days, but closed in sunny times ... then moonflower
If they open during the day, and close at night ... I forget the name!
The two are very similar, and cross-referencing is often given in the plant books.