Hi,
I have currently hardcoded them, you can replace the exact values.
string date = "01/01/2014";
int hour = Convert.ToInt32("15");
string min = "12";
string type = hour > 12 ? "PM" : "AM";
hour = hour > 12 ? hour - 12 : hour;
string dateString = date + " " + hour + ":" + min + " " + type;
string format = "dd/MM/yyyy h:mm tt";
DateTime dateTime = DateTime.ParseExact(dateString, format, CultureInfo.InvariantCulture);
Console.WriteLine(dateTime);
Srikant