If I have, for example, a string that contains 12:20pm or 4:34am and want to create a DateTime Object with that string?
Essentially, I have a date picker and next to it a jquery time picker and so I want to combine those two to get a combined DateTime object that has both the user selected date as well as the user selected time.
Try this:
The DateTime.Parse method converts string object to datetime object https://msdn.microsoft.com/en-us/library/1k1skd40%28v=vs.110%29.aspx