I am in America, and one of my clients is in UK or somewhere else .
I am using the following:
if (doc.ChildNodes[k].Name == "StartTime")
{
JobStartTime = string.IsNullOrEmpty(doc.ChildNodes[k].InnerText) ? DateTime.MinValue : DateTime.Parse(doc.ChildNodes[k].InnerText.ToString()).ToUniversalTime();
}
always get the following errors:
String was not recognized as a valid DateTime.
anybody have any idea to fix it?
Thanks,T
...
Go to the complete details ...