There is precious little; it is governed by convention. There are some limits as to how long the House can—as I'm sure members know—not sit. The limit is 365 days. In terms of setting the date, it is entirely within the PM's prerogative to determine the dates.
I would turn to my colleague, Don Booth, who has additional information on recent dates and prorogation.