Select Add partner/ex to add the relationship.
Once you've added the relationship go to the Partners tab of one of the two in the relationship, select Edit [name]'s details, make sure you have the relationship is set to any of the fallowing; Married, Divorced, Separated, Annulled, Remarried.
Once you've got the relationship set to what you feel to be the most fitting, the date fields will be their appropriate marriage variants.
Note: For Separated and Annulled the end dates don't have a toggle to show on the tree, and the same with Married, Remarried (the second end date) and if the two people are set as ex-partners.