I have two strings:
string one = \"13/02/09\"; string two = \"2:35:10 PM\";
I want to combine these two together and convert to a Dat
Dat
The following code will do what you want. I used the UK culture to take care of the d/m/y structure of your date:
string string1 = "13/2/09"; string string2 = "2:35:10 PM"; DateTime combined = DateTime.Parse(string1 + ' ' + string2, new CultureInfo("UK"));