In my code, I am getting Date value as string (reading from xml doc) where no time zone is specified. Here is the sample code...
string dateStr = "2012-06-23";
DateTime convertedDate = DateTime.Parse(dateStr).ToUniversalTime();
When I check the value of convertedDate, it is "22/06/2012 18:30:00". I want to know how exectly ToUniversalTime() method works in this case and how it concluded dateTime format in this case.
Thanks in advance.