string dateString, format;
DateTime result;
CultureInfo provider = CultureInfo.InvariantCulture;
format = "M/d/yyyy h:mm:ss tt";
dateString = item.Attribute("D").Value;
result = DateTime.ParseExact(dateString, format, provider);
dr["TimePart"] = result.ToString("dd'.'MM'.'yyyy h:mm");
Now I have format: 31.03.2012 3:00
I would like to get get 31.03.2012 15:00 ?
Thanks. ...
Go to the complete details ...