The purchase and sale dates are used to determine if the sale is short- or long-term. The exact dates only matter if you bought & sold within 30 days (wash sale). Use the earliest and latest dates if that's easier.
If this is for a PTP/MLP, see How do I report the sale of Publicly Traded Partnerships (PTPs) or Master Limited Partnerships (MLPs) in TurboTax?