How to convert strings to DateTime C# : <p>I have 3 separate strings with the following format: </p>

<p><code>01-29-2016</code>: a date, picked from a bootstrap datepicker</p>

<p><code>1:00am</code> start time, picked from a dropdown, format could also be e.g. 10:00pm</p>

<p><code>2:30am</code> end time, picked from a dropdown, format could also be e.g. 11:30pm</p>

<p>Using the above strings I need to construct 2 DateTime properties that represent the time range, something like below:</p>

<p><code>2016-01-29 02:30:00</code></p>

<p><code>2016-01-29 01:00:00</code></p>

<p>I need the DateTime properties so I could update datetime database fields</p>
