This can be configured in the Rules tab of a campaign by editing the Campaign End Date. (Note: If you need to end the limited-time promo at a certain date/time, please make sure you have the Friend Offer Deadline set at least 2 weeks before the Campaign End Date to ensure Advocates can get rewarded.)