convert Date by Exact Format
To convert Date time by Format
string datestring="12/2/2012";
DateTime.ParseExact(datestring, "MM/dd/yyyy", CultureInfo.InvariantCulture);
Comments
Post a Comment