Hi, Michael.
>It cuts off the time and only gives me the date, even though strDateTime has the time. It seems like it may be due to the time in strDateTime is 12 hour time, with an AM or PM at the end.
I just tried something as simple as:
string strDateTime = "08/20/03 06:20:12 PM";
DateTime dt = DateTime.Parse(strDateTime);
Console.WriteLine(dt);
and it worked. Could you print the value of strDateTime so that we can see what's been passed to the Parse method?
Claudio Lassala