if (userDateFormat.Trim().Contains("dd/MM/yyyy")) convertedDateTime = DateTime.ParseExact(dateTimeString, format_dmy, CultureInfo.InvariantCulture, DateTimeStyles.AllowLeadingWhite | DateTimeStyles.AllowTrailingWhite);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)